feat(cli): improve error handling

This commit is contained in:
陈嘉涵
2019-12-05 19:46:54 +08:00
parent 187b72483c
commit f7ef1845e8
2 changed files with 8 additions and 7 deletions
@@ -22,7 +22,10 @@ export class VantCliSitePlugin {
genSiteDesktopShared();
resolve();
})
.catch(reject);
.catch(err => {
console.log(err);
reject(err);
});
});
}
}