improve error handling in network service, fix username form errors

This commit is contained in:
Alex Holliday committed 2024-09-26 11:01:38 +08:00
1 parent 09fb5595ab
commit 38ee162f61
4 files changed
+29 -4

No files matched your search

+1
View File
@@ -325,6 +325,7 @@ const deleteMonitor = async (req, res, next) => {
logger.error(
`Error deleting associated records for monitor ${monitor._id} with name ${monitor.name}`,
{
method: "deleteMonitor",
service: SERVICE_NAME,
error: error.message,
}