mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-20 04:14:21 +08:00
chore(snapshot): do not exit on error
This commit is contained in:
@ -130,11 +130,9 @@ var IonicSnapshot = function(options) {
|
|||||||
try {
|
try {
|
||||||
if (error) {
|
if (error) {
|
||||||
log(specIdString, colors.red('error posting screenshot:'), error);
|
log(specIdString, colors.red('error posting screenshot:'), error);
|
||||||
process.exit(1);
|
|
||||||
|
|
||||||
} else if (response.statusCode >= 400) {
|
} else if (response.statusCode >= 400) {
|
||||||
log(specIdString, colors.red('error posting screenshot:'), response.statusCode, body);
|
log(specIdString, colors.red('error posting screenshot:'), response.statusCode, body);
|
||||||
process.exit(1);
|
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
var rspData = JSON.parse(body);
|
var rspData = JSON.parse(body);
|
||||||
|
Reference in New Issue
Block a user