We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 21374fa commit 6c55b98Copy full SHA for 6c55b98
backend/src/index.ts
@@ -172,10 +172,8 @@ function errorHandler(err) {
172
// tslint:enable:no-console
173
}
174
175
-if (process.env.NODE_ENV === "production") {
176
- process.on("uncaughtException", errorHandler);
177
- process.on("unhandledRejection", errorHandler);
178
-}
+process.on("uncaughtException", errorHandler);
+process.on("unhandledRejection", errorHandler);
179
180
// Verify required Node.js version
181
const REQUIRED_NODE_VERSION = "16.9.0";
0 commit comments