Skip to content

Commit ef3d200

Browse files
committed
chore: remove useless code
1 parent 4943098 commit ef3d200

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/common/exception/src/exception_into.rs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -179,13 +179,6 @@ impl From<prost::EncodeError> for ErrorCode {
179179
}
180180
}
181181

182-
// === octocrab error ===
183-
impl From<octocrab::Error> for ErrorCode {
184-
fn from(error: octocrab::Error) -> Self {
185-
ErrorCode::NetworkRequestError(format!("octocrab error, cause: {}", error))
186-
}
187-
}
188-
189182
// === ser/de to/from tonic::Status ===
190183
#[derive(thiserror::Error, serde::Serialize, serde::Deserialize, Debug, Clone, PartialEq, Eq)]
191184
pub struct SerializedError {

0 commit comments

Comments
 (0)