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

How to log exceptions that are caught? #263

Closed
jcldavid opened this issue Jun 3, 2013 · 3 comments
Closed

How to log exceptions that are caught? #263

jcldavid opened this issue Jun 3, 2013 · 3 comments

Comments

@jcldavid
Copy link

jcldavid commented Jun 3, 2013

Is there a way to just pass an error level then the error object to the logger, like what it does from uncaughtException's but only this time, it's caught.

@JoeStanton
Copy link

👍 Errors don't seem to be printed properly in the latest version of Winston. The output is simply:

error:

Is this a regression?

@agsha
Copy link

agsha commented Jul 18, 2013

+1 is Winston unmaintained currently?
Please fix this.

@indexzero
Copy link
Member

This was fixed in 0.8.1 because Error instances can sometimes be a string. #396

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

4 participants