radicle-dev / radicle-link

The second iteration of the Radicle code collaboration protocol.
Other
423 stars 39 forks source link

librad: remove `err` logging from instrument macro #690

Closed kim closed 3 years ago

kim commented 3 years ago

The err parameter for the tracing::instrument macro logs at error level unconditionally when the Result-returning function returns, err, Err. This was once useful for debugging, but nowadays adds noise: it is often hard to tell where the log line comes from, it's not always an error (ie. it might be handled), or multiple log lines are emitted for the same error condition.

Thus, remove it everywhere.