Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a bug that server process is died on engine connection error
"error" message is special in EventEmitter. If there is no handler for "error" message, node.js is aborted. This change adds "error" message handler. It returns an error response to clients.
- Loading branch information
Showing
1 changed file
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters