-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Unhandled "error" event. (Error: Callback called multiple times) #1730
Comments
The error is back again. Went through winston code but didn't get smarter why it arises - can anyone point in the right direction please? |
I have the same issue. @Akuukis, did you find any solutions or workarounds? |
@barinbritva No, I still have no clue. |
@Akuukis, that's strange only we have this issue. I thought maybe it's something not related with Winston and I did clean install of all project dependencies, but to no avail. |
I have the same issue... |
This error occurred for me after I had accidentally deep cloned the logger object. Hopefully that will help somebody. |
@calvinjaramillo, thanks for your idea. I think, it's possible my situation. |
Please tell us about your environment:
winston
version?winston@2
winston@3
node -v
outputs: 8.16.1What is the problem?
Sometimes, consistently, some of the calls to log results in the following error:
I've not figured out the pattern of why it fails yet.
What do you expect to happen instead?
I expect it to throw a more useful error that would help me to identify what I'm doing wrong.
Other information
It felt related to ExceptionHandler problems at #1355 #1289 #1261 #511, but after few experiments doesn't so:
The text was updated successfully, but these errors were encountered: