mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
fix(core): Do not crash express app on unhandled rejected promises (#5252)
This commit is contained in:
committed by
GitHub
parent
68e4083bbd
commit
7e229a3d38
@@ -32,6 +32,7 @@ if (![14, 16, 18].includes(nodeVersionMajor)) {
|
||||
// Prevent oclif from loading ts-node and typescript
|
||||
process.env.OCLIF_TS_NODE = '0';
|
||||
|
||||
require('express-async-errors');
|
||||
require('source-map-support').install();
|
||||
|
||||
require('@oclif/command')
|
||||
|
||||
Reference in New Issue
Block a user