mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-01-16 23:00:51 +00: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. |
||
|---|---|---|
| .. | ||
| Metrics.ts | ||
| Monitor.ts | ||
| Probe.ts | ||
| Register.ts | ||