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 },
|
data: { messageId },
|
||||||
});
|
});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
next(handleValidationError(error, SERVICE_NAME));
|
next(handleError(error, SERVICE_NAME));
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in new issue
Block a user