-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Pass message to log calls as first argument (#2363)
Winston loggers expect the message to be the first argument and extra options as the other ones. Failing to do that results in messages to be interpreted as options and transformed into objects and finally not being properly displayed (or filterable) when debugging.
- Loading branch information
1 parent
fa6d1dd
commit 74abd19
Showing
2 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters