You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm returning an error of the following structure from my method with the return type anyhow::Result<()>. Strangely, when I try to log the backtrace, I can't see the lines related to the serde_json::Error that is the source:
// my logging functionpub(crate)fnlog_endpoint_err(err:&anyhow::Error){
log::error!("{err}, {}", err.backtrace())}
Can some frames be omitted from the backtrace under any circumstances?
Can a "gap" in the source() chain be a reason for this? (My error is "EOF when decoding a value", not an Io category of serde_json:Error's
The text was updated successfully, but these errors were encountered:
Hey.
I'm returning an error of the following structure from my method with the return type
anyhow::Result<()>
. Strangely, when I try to log the backtrace, I can't see the lines related to theserde_json::Error
that is the source:Can some frames be omitted from the backtrace under any circumstances?
Can a "gap" in the
source()
chain be a reason for this? (My error is "EOF when decoding a value", not anIo
category ofserde_json:Error
'sThe text was updated successfully, but these errors were encountered: