Fix: remove logging in wrapReject

This commit is contained in:
eight 2017-10-16 14:59:45 +08:00
parent be4a896bc9
commit 831a4ef939

View File

@ -24,10 +24,7 @@ var usercssHelper = (function () {
function wrapReject(pending) {
return pending.then(result => ({status: 'success', result}))
.catch(err => {
console.error(err);
return {status: 'error', result: err.message || String(err)};
});
.catch(err => ({status: 'error', result: err.message || String(err)}));
}
// Parse the source and find the duplication