forked from shibao/cannery
fix issue with oban exception logger
This commit is contained in:
parent
67dc16d222
commit
70701a27d3
@ -1,4 +1,5 @@
|
||||
# v0.9.10
|
||||
- Fix issue with logger failing on oban exceptions
|
||||
- Update deps
|
||||
|
||||
# v0.9.9
|
||||
|
@ -14,7 +14,7 @@ defmodule Cannery.Logger do
|
||||
|> Map.put(:stacktrace, Exception.format_stacktrace(stacktrace))
|
||||
|> pretty_encode()
|
||||
|
||||
Logger.error("#{meta.reason}: #{data}")
|
||||
Logger.error("Oban exception: #{data}")
|
||||
end
|
||||
|
||||
def handle_event([:oban, :job, :start], measure, meta, _config) do
|
||||
|
Loading…
Reference in New Issue
Block a user