Revert "fix: improve streamin error to include error_type"

This reverts commit 2b1a360b1511d94ea9a24e5432e498e67939506a.
This commit is contained in:
drbh 2024-10-25 11:55:44 -04:00 committed by Nicolas Patry
parent a9c8c6a0d7
commit 22d205aa47
No known key found for this signature in database
GPG Key ID: D2920555C90F704C

View File

@ -2541,7 +2541,6 @@ pub struct APIError {
#[derive(serde::Serialize)] #[derive(serde::Serialize)]
pub struct ErrorEvent { pub struct ErrorEvent {
error: APIError, error: APIError,
error_type: String,
} }
impl ErrorEvent { impl ErrorEvent {
@ -2551,7 +2550,6 @@ impl ErrorEvent {
message: err.to_string(), message: err.to_string(),
http_status_code, http_status_code,
}, },
error_type: err.error_type().to_string(),
} }
} }
} }