-
Notifications
You must be signed in to change notification settings - Fork 36
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
fix: resolved logging objects being undefined or missing #1509
Conversation
Suggestion
|
- refs INSTA-12533 - some log messages did not log the corresponding objects
63cebfa
to
fe99ffb
Compare
Co-authored-by: kirrg001 <[email protected]>
Co-authored-by: kirrg001 <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
We should probably use error?.stack
& error?.message
everywhere as an extra protection. If we name all errors error
or err
, we can more easily refactor things.
note:
In some places, I have used
%s
, and%o
notations.In some places where JSON.stringify is already used, I followed the same to keep the logs clean and more readable.