Show the failure of the call

This commit is contained in:
jules 2016-02-29 16:35:18 +01:00
parent e8fa681bb8
commit d45d4956a9

View file

@ -60,7 +60,7 @@ module GrapeLogging
def parameters
{
status: response.try(:status),
status: response.nil? ? 'fail' : response.status,
time: {
total: total_runtime,
db: db_runtime,