mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
ad1e5fefc6
This commit refactors the Semaphore.lock() function in the MonitorStatusTimelineService and Monitor API files to improve error handling. It adds try-catch blocks around the lock() function calls and logs any errors that occur using the logger. This change ensures that errors during the locking process are properly handled and logged, preventing potential issues with mutex locking. |
||
---|---|---|
.. | ||
API | ||
Docs | ||
Middleware | ||
ProtoFiles/OTel/v1 | ||
Service | ||
Types | ||
Utils | ||
.dockerignore | ||
.gitattributes | ||
.gitignore | ||
Dockerfile.tpl | ||
Index.ts | ||
jest.config.json | ||
nodemon.json | ||
package-lock.json | ||
package.json | ||
tsconfig.json |