mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
- Updated multiple API routes to use NextFunction for error handling. - Wrapped asynchronous route handlers in try-catch blocks to catch and pass errors to the next middleware. - Ensured consistent error responses across various endpoints, improving maintainability and readability. - Enhanced the structure of the code by reducing nested try-catch blocks and improving flow control.