mirror of
https://github.com/fawney19/Aether.git
synced 2026-10-07 01:47:47 +08:00
fix: harden frontdoor and usage ingestion
This commit is contained in:
@@ -551,12 +551,7 @@ fn endpoint_for_self_check(
|
||||
}
|
||||
|
||||
fn gateway_error_message(err: GatewayError) -> String {
|
||||
match err {
|
||||
GatewayError::UpstreamUnavailable { message, .. }
|
||||
| GatewayError::ControlUnavailable { message, .. }
|
||||
| GatewayError::Client { message, .. }
|
||||
| GatewayError::Internal(message) => message,
|
||||
}
|
||||
err.into_message()
|
||||
}
|
||||
|
||||
fn update_summary_from_outcome(
|
||||
|
||||
Reference in New Issue
Block a user