parent
ca1a3f37e3
commit
26450f7587
|
@ -97,7 +97,7 @@ module Hijack
|
||||||
io = nil
|
io = nil
|
||||||
ensure
|
ensure
|
||||||
|
|
||||||
if Rails.configuration.lograge.enabled
|
if Rails.configuration.try(:lograge).try(:enabled)
|
||||||
if timings
|
if timings
|
||||||
db_runtime = 0
|
db_runtime = 0
|
||||||
if timings[:sql]
|
if timings[:sql]
|
||||||
|
|
Loading…
Reference in New Issue