I'm using the tracing integration and if I do:
capture_anyhow(&e);
error!(
error = e.into_boxed_dyn_error(),
"error doing something"
);
only one of the issue in sentry has a stack strace.
Is it possible to have the stack trace when using error!() since I would like the error to be loggued and not have 2 issues in sentry?
sentry-tracing seems to have some backstrace code. I wonder if the problem is caused by into_boxed_dyn_error().
https://github.com/getsentry/sentry-rust/blob/f247ac01323b093a1f7ea17abce6bc6373c68e3f/sentry-tracing/src/converters.rs#L286-L306
also it would be neat with error!() since I'm already using it everywhere.