Fix: remove logging in wrapReject
This commit is contained in:
parent
be4a896bc9
commit
831a4ef939
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user