-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
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
- Investigate which process-level events are available in the current FiveM runtime (e.g.
unhandledRejection,uncaughtException). - Add a small bootstrap module that:
- Subscribes to the supported events.
- Logs them via
LoggerServicewith stack, context and severity.
- Ensure that logging such events does not itself throw or create infinite loops.
Acceptance Criteria
- Unhandled rejections and global exceptions are logged with stack traces.
- The engine does not silently swallow these errors anymore.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels