瀏覽代碼

fix bug that didn't return error

jomo 10 年之前
父節點
當前提交
5f8465c06a
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/networking.js

+ 1 - 1
modules/networking.js

@@ -72,7 +72,7 @@ exp.skin_file = function(url, facename, helmname, callback) {
         console.error(response);
         console.error(body);
       }
-      callback(null);
+      callback(error);
     }
   });
 };