diff --git a/src/core/src/alerts/alert.rs b/src/core/src/alerts/alert.rs index 3620d26b81..e5c2f475a3 100644 --- a/src/core/src/alerts/alert.rs +++ b/src/core/src/alerts/alert.rs @@ -1702,7 +1702,13 @@ async fn send_http_notification(endpoint: &Endpoint, msg: String) -> Result v, + Err(e) => { + log::error!("error sending request to {} with error {e:?}", endpoint.url); + return Err(anyhow::anyhow!("error sending request : {e:?}")); + } + }; let resp_status = resp.status(); let resp_body = resp.text().await?;