Skip to content

Commit

Permalink
Fix not to destory data hash
Browse files Browse the repository at this point in the history
  • Loading branch information
tilfin committed Aug 29, 2019
1 parent 89769d1 commit a10e188
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ougai/formatters/readable.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ def initialize(app_name = nil, hostname = nil, opts = {})
load_dependent
end

def _call(severity, time, progname, data)
def _call(severity, time, progname, _data)
data = _data.dup
msg = data.delete(:msg)
level = @plain ? severity : colored_level(severity)
dt = format_datetime(time)
Expand Down

0 comments on commit a10e188

Please sign in to comment.