Fix error code replaced by 1002

This commit is contained in:
Gaël Métais
2014-09-23 10:41:23 +02:00
parent 3ff2b36cca
commit fd5078b540
+1 -1
View File
@@ -89,7 +89,7 @@ var PhantomasWrapper = function() {
err = 1001;
}
if (!json || !json.metrics) {
if (!err && (!json || !json.metrics)) {
err = 1002;
}