Merge pull request #9702 from colinux/fix-lograge-to-log
Tech: fix log without to_log key
This commit is contained in:
commit
7c8777557f
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ Rails.application.configure do
|
|||
}
|
||||
}
|
||||
|
||||
hash.merge!(event.payload[:to_log])
|
||||
hash.merge!(event.payload[:to_log]) if event.payload.key?(:to_log)
|
||||
|
||||
hash.compact
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue