fix error handling

This commit is contained in:
Alex Holliday committed 2025-06-19 10:33:00 +08:00
1 parent 196757d36f
commit 7ed92427a3
1 file changed
+1 -1
+1 -1
View File
@@ -117,7 +117,7 @@ class SettingsController {
data: { messageId },
});
} catch (error) {
next(handleValidationError(error, SERVICE_NAME));
next(handleError(error, SERVICE_NAME));
return;
}
};