Skip to content
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

Check err object to be null #13

Closed
rehangit opened this issue Aug 7, 2018 · 1 comment
Closed

Check err object to be null #13

rehangit opened this issue Aug 7, 2018 · 1 comment

Comments

@rehangit
Copy link

rehangit commented Aug 7, 2018

Our logger ends up falling apart here as the object being serialized is null. Although this can be fixed at source but it should be possible to pass a null object. The serializer should handle the null object gracefully.

type: err.constructor.name,

@mcollina
Copy link
Member

Fixed by #15.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants