macro_rules! trace_error {
($result:expr) => { ... };
}
Expand description
Log a breadcrumb if we see an Result::Err
value
Use this macro to wrap a function call that returns a Result<>
. If that call returns an
error, then we will log a breadcrumb for it. This can be used to track down the codepath where
an error happened.