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