Context
Unhandled promise rejections or global exceptions in the Node/FiveM environment can cause silent crashes or leave the server in a corrupted state.
Goal
Subscribe to process-level error events (where supported) and route them through the engine logging system, making them visible and easier to debug.
Tasks
Acceptance Criteria
Context
Unhandled promise rejections or global exceptions in the Node/FiveM environment can cause silent crashes or leave the server in a corrupted state.
Goal
Subscribe to process-level error events (where supported) and route them through the engine logging system, making them visible and easier to debug.
Tasks
unhandledRejection,uncaughtException).LoggerServicewith stack, context and severity.Acceptance Criteria