-
Notifications
You must be signed in to change notification settings - Fork 213
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(iroh-blobs): Remove debugging logs & more cleanup #2690
Changes from all commits
5e10b6e
8e17f15
228a753
81dcf53
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -717,7 +717,6 @@ impl<G: Getter<Connection = D::Connection>, D: Dialer> Service<G, D> { | |
entry.get_mut().intents.insert(intent_id, intent_handlers); | ||
} | ||
hash_map::Entry::Vacant(entry) => { | ||
tracing::warn!("is new, queue"); | ||
let progress_sender = self.progress_tracker.track( | ||
kind, | ||
intent_handlers | ||
|
@@ -728,7 +727,9 @@ impl<G: Getter<Connection = D::Connection>, D: Dialer> Service<G, D> { | |
); | ||
|
||
let get_state = match self.getter.get(kind, progress_sender.clone()).await { | ||
Err(_err) => { | ||
Err(err) => { | ||
// This prints a "FailureAction" which is somewhat weird, but that's all we get here. | ||
tracing::error!(?err, "failed queuing new download"); | ||
Comment on lines
+730
to
+732
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. we already return an error There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The idea is to log the error cause. |
||
self.finalize_download( | ||
kind, | ||
[(intent_id, intent_handlers)].into(), | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uhhh this is(was) ugly