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
PR #1277 we introduce a log line to handle failed RADON retrievals:
Err(e) => log::debug!("Failed result for source {}: {:?}", retrieve.url, e),
But that line is never entered when the error e is an HTTP error, which seems to be the most common type of error in the current testnet. To fix that we need to handle early returns caused by the ? operator, the simple solution is to wrap the entire funcion and move the log outside that wrapper:
fnfoo(){let foo_wrapped = || {/* code here */};matchfoo_wrapped(){/* logs here */}}
The text was updated successfully, but these errors were encountered:
PR #1277 we introduce a log line to handle failed RADON retrievals:
But that line is never entered when the error
e
is an HTTP error, which seems to be the most common type of error in the current testnet. To fix that we need to handle early returns caused by the?
operator, the simple solution is to wrap the entire funcion and move the log outside that wrapper:The text was updated successfully, but these errors were encountered: