Cannot get detail stacktrace when error occured within reactor

I think the only information I can get is the step name of the error occured.

This make debugging very hard.

Is this an intended behavior?

This has been bugging me too.

I’ve created a PR that includes the stacktrace in the exception that is returned: https://github.com/ash-project/reactor/pull/265

For now it only works with non-anonymous steps. I could make it work for anonymous steps but that would be a breaking change so I wanted to get the insights of the author.

Until the PR is merged you can use my fork to get the stacktraces:

# mix.exs:
{
  :reactor,
  git: "https://github.com/Rutgerdj/reactor",
  ref: "072ec552e0d7ec61c0d16774f3725c8a84bce990",
  override: true
}
1 Like