Skip to content

Commit

Permalink
🎨 small fix, change log level
Browse files Browse the repository at this point in the history
  • Loading branch information
idinium96 committed Apr 4, 2021
1 parent e4cd427 commit 55dc672
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/classes/Pricelist.ts
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@ export default class Pricelist extends EventEmitter {
log.debug('Done update old prices...');
})
.catch(err => {
log.error('Error on updateOldPrices', err);
log.error('Error on updateOldPrices:', err);
});
})
.catch(err => {
Expand Down Expand Up @@ -790,7 +790,7 @@ export default class Pricelist extends EventEmitter {
currPrice.enabled = false;
currPrice.group = 'failed-updateOldPrices';
this.failedUpdateOldPrices.push(sku);
log.warn(`updateOldPrices failed for ${sku}`, err);
log.error(`updateOldPrices failed for ${sku}`, err);
pricesChanged = true;
}

Expand Down

0 comments on commit 55dc672

Please sign in to comment.