From de7cccd9254a2d77cb4eada870bdcc68cd010976 Mon Sep 17 00:00:00 2001 From: Medicean Date: Wed, 9 Nov 2016 18:41:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=8F=91=E5=8C=85=E9=94=99?= =?UTF-8?q?=E8=AF=AF=E6=97=B6=E6=8D=95=E8=8E=B7=E5=BC=82=E5=B8=B8=20?= =?UTF-8?q?=E6=84=9F=E8=B0=A2=20@yw9381?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libs/bugscan.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/libs/bugscan.js b/libs/bugscan.js index 6bcd35b..31e47dc 100644 --- a/libs/bugscan.js +++ b/libs/bugscan.js @@ -11,6 +11,9 @@ class Bugscan { core.request({ _: this.template[opt['type']](argv.url, argv.tasks) }).then(res) + .catch((err)=>{ + rej(err); + }); }); }