-
At some point, my application crashes and shows something like this:
I'm using Bun 1.1.39 and Socket.IO 4.8.0 |
Beta Was this translation helpful? Give feedback.
Answered by
michioxd
Jan 8, 2025
Replies: 2 comments 1 reply
-
Temporary solved by catching process import process from 'node:process';
process.on('uncaughtException', (err, origin) => {
// something or console.error...
}); |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
michioxd
-
It seems the replacement of Node.js HTTP server provided by bun is a bit more restrictive regarding writing to an already closed response. Are you able to reproduce the issue locally? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Temporary solved by catching process
uncaughtException
event.