[xwiki-notifications] [xwiki-contrib/application-discussions] e6584b: DISCUSSION-31: Improve error handling in APIs