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
tracelimit::error_ratelimited!(?err, ?offer_id, "could not open channel",);
tracelimit::error_ratelimited!(err = err.as_ref() as &dyn std::error::Error, ?offer_id, "could not open channel",);
we want to always require the 2nd, as the first doesn't log the whole error chain.
Is there a change we could make to tracing instead to do the right thing here somehow? Currently all our lints are purely text-based, and there's no way to have enough type-information to be able to do this. We'd need to invest in setting up something much more involved, like cargo-dylint.
Have a lint that fires in the following case:
we want to always require the 2nd, as the first doesn't log the whole error chain.
Originally posted by @SvenGroot in #717 (comment)
The text was updated successfully, but these errors were encountered: