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) { function wrapReject(pending) {
return pending.then(result => ({status: 'success', result})) return pending.then(result => ({status: 'success', result}))
.catch(err => { .catch(err => ({status: 'error', result: err.message || String(err)}));
console.error(err);
return {status: 'error', result: err.message || String(err)};
});
} }
// Parse the source and find the duplication // Parse the source and find the duplication