Skip to content

Commit

Permalink
fix(logger): apply error log
Browse files Browse the repository at this point in the history
  • Loading branch information
pablo1v committed Feb 9, 2021
1 parent 41ffc4d commit 779f477
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utilities/internal/logger.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const logger = {
console.log(message);
}),
error: middleware((message, stackTrace) => {
console.log(`Error: ${message}\n${stackTrace}`);
console.error(`Error: ${message}\n${stackTrace}`);
}),
};

Expand Down

0 comments on commit 779f477

Please sign in to comment.