BaseController fix

Error response now contains the exception instead of its message