mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
allow for no lograge
(fixes tests)
This commit is contained in:
parent
ca1a3f37e3
commit
26450f7587
@ -97,7 +97,7 @@ module Hijack
|
||||
io = nil
|
||||
ensure
|
||||
|
||||
if Rails.configuration.lograge.enabled
|
||||
if Rails.configuration.try(:lograge).try(:enabled)
|
||||
if timings
|
||||
db_runtime = 0
|
||||
if timings[:sql]
|
||||
|
Loading…
Reference in New Issue
Block a user