-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Logger console output #57
Comments
/start |
Caution Please set your wallet address with the /wallet command first and try again. |
/wallet |
Caution Please provide your wallet address after to register it i.e.: |
/start |
Tip
|
Important
|
@whilefoo I can't reproduce locally printing three times the stack, however I can see the empty |
You're right. The logger does have a function convertErrorsIntoObjects but it's only use in |
Current behavior
For one
logger.error
, the logger is outputting 3 times, first time with just the message, second time with metadata and third time with the stack.Another problem is that errors get printed as
{}
so every time I have to manually add aconsole.log
to know what the actual error is.Expected behavior
This is redundant because the stack is getting printed 3 times and message and metadata should be together otherwise it looks very confusing, so ideally it should look like this:
The text was updated successfully, but these errors were encountered: