fix error handling
This commit is contained in:
1 parent
196757d36f
commit
7ed92427a3
1 file changed
+1
-1
@@ -117,7 +117,7 @@ class SettingsController {
|
||||
data: { messageId },
|
||||
});
|
||||
} catch (error) {
|
||||
next(handleValidationError(error, SERVICE_NAME));
|
||||
next(handleError(error, SERVICE_NAME));
|
||||
return;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user