fix issue with oban exception logger

This commit is contained in:
shibao 2024-06-16 11:26:49 -04:00
parent 67dc16d222
commit 70701a27d3
2 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
# v0.9.10
- Fix issue with logger failing on oban exceptions
- Update deps
# v0.9.9

View File

@ -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