diff options
Diffstat (limited to 'crates/shirabe/src/util')
| -rw-r--r-- | crates/shirabe/src/util/github.rs | 1 | ||||
| -rw-r--r-- | crates/shirabe/src/util/http_downloader.rs | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/crates/shirabe/src/util/github.rs b/crates/shirabe/src/util/github.rs index c87a83f..650ae33 100644 --- a/crates/shirabe/src/util/github.rs +++ b/crates/shirabe/src/util/github.rs @@ -241,7 +241,6 @@ impl GitHub { { Ok(_) => {} Err(te) => { - // TODO(phase-b): downcast anyhow::Error to TransportException for status code let code = te .downcast_ref::<crate::downloader::TransportException>() .and_then(|t| t.get_status_code()) diff --git a/crates/shirabe/src/util/http_downloader.rs b/crates/shirabe/src/util/http_downloader.rs index 166f1f8..89bf0a4 100644 --- a/crates/shirabe/src/util/http_downloader.rs +++ b/crates/shirabe/src/util/http_downloader.rs @@ -792,7 +792,6 @@ impl HttpDownloader { /// /// @return ?string[] pub fn get_exception_hints(e: &anyhow::Error) -> Option<Vec<String>> { - // TODO(phase-b): `$e instanceof TransportException` let e_as_transport: Option<&TransportException> = e.downcast_ref::<TransportException>(); if e_as_transport.is_none() { return None; |
