Closed sparkertime closed 1 year ago
@sparkertime I think the only way to silence this is to wrap async executors into a try..catch
block here, but I'm not 100% sure we need to do this. Raises are not a common way to return errors so maybe having them in the log is preferred for some users..
I'm closing this for now but I'll be happy to discuss it further.
Environment
elixir --version
) Elixir 1..13.1 / OTP 24Current Behavior
I created a repo https://github.com/sparkertime/sage_exceptions_oddity where I can reproduce what seems like strange behavior to me. If a transaction raises an exception during
run_async
, it still dumps the exception to the terminal even though the process continues.In that repo, I define two functions
Both of these tests pass, but the
bust_asynchronously
test produces this console output before passing