Fix error code replaced by 1002
This commit is contained in:
@@ -89,7 +89,7 @@ var PhantomasWrapper = function() {
|
||||
err = 1001;
|
||||
}
|
||||
|
||||
if (!json || !json.metrics) {
|
||||
if (!err && (!json || !json.metrics)) {
|
||||
err = 1002;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user