Write more specific error messages
Write more specific error messages. For example look at IDSController class, line 89 - 91. Four exceptions throw the same error. Without any logging possibility, a user cannot locate where the error occurs. SO there have to be more specific messages for the user who is sending a request like in the example above.