diff options
Diffstat (limited to 'lib/api.rb')
-rw-r--r-- | lib/api.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/api.rb b/lib/api.rb index d241f9b7479..082769da6d3 100644 --- a/lib/api.rb +++ b/lib/api.rb @@ -17,13 +17,13 @@ module Gitlab message << exception.annoted_source_code.to_s if exception.respond_to?(:annoted_source_code) message << " " << trace.join("\n ") - API.logger.add Logger::FATAL, message + API.logger.add Logger::FATAL, message rack_response({'message' => '500 Internal Server Error'}, 500) end format :json helpers APIHelpers - + mount Groups mount Users mount Projects |