mirror of
https://github.com/samsonjs/grape_logging.git
synced 2026-03-25 08:55:47 +00:00
Show the failure of the call
This commit is contained in:
parent
e8fa681bb8
commit
d45d4956a9
1 changed files with 1 additions and 1 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue