Stop catching unanticipated exceptions in API calls
api_call_handle_error rescued any unexpected exceptions and returned their
class and message to the client as 500 responses. The message can contain
internal details, such as SQL from database errors, that shouldn't be
shared with clients.
Additionally, catching these exceptions meant they were only written to
the logs, and the exception never reached Sentry.
If the exception happened before authorization, then the check_authorization
also raised, so Sentry saw a misleading CanCan::AuthorizationNotPerformed
error instead of the real one.
Let these exceptions propagate instead, so that they are reported correctly,
and are rendered by ErrorsController like any other unhandled exception.