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

Exception error when log undefined value #739

Closed
cong88 opened this issue Nov 3, 2015 · 2 comments
Closed

Exception error when log undefined value #739

cong88 opened this issue Nov 3, 2015 · 2 comments

Comments

@cong88
Copy link

cong88 commented Nov 3, 2015

An Exception make node crash when I try to log undefined variable

winston "version": "2.0.0"
[TypeError: Cannot read property 'match' of undefined]
warn: QUEUE error TypeError: Cannot read property 'match' of undefined
at Logger.log (/Volumes/working/ibooknail/api/node_modules/winston/lib/winston/logger.js:169:26)

@indexzero
Copy link
Member

Can you please provide what version of winston you are running?

@indexzero indexzero reopened this Nov 3, 2015
@indexzero
Copy link
Member

Thanks for the bug report. Fixed in 2.0.1

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