fix: remove unneeded process handlers

This commit is contained in:
Alexis Tyler
2020-09-30 14:07:25 +09:30
parent efb4113d57
commit f5e8d7d8af

View File

@@ -11,9 +11,6 @@ const { varState } = states;
// https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/readyState
const CLOSED_READY_STATE = 3;
process.on('uncaughtException', log.debug);
process.on('unhandledRejection', log.debug);
/**
* Get a number between the lowest and highest value.
* @param low Lowest value.