Fix wrong notification when category creation/deletion/update fails
This MR aims at fixing a bug in the displayed notification when the category creation/update/deletion fails. This is mainly due to an error not rethrown from the backend Promise. The notification displayed to the user was a success notification, not an error one.