diff --git a/crates/router/src/core/webhooks.rs b/crates/router/src/core/webhooks.rs index a26d4db3e4..c605afd525 100644 --- a/crates/router/src/core/webhooks.rs +++ b/crates/router/src/core/webhooks.rs @@ -803,6 +803,13 @@ pub async fn webhooks_core( object_ref_id.clone(), ) .await + .or_else(|error| match error.current_context() { + errors::ConnectorError::WebhookSourceVerificationFailed => { + logger::error!(?error, "Source Verification Failed"); + Ok(false) + } + _ => Err(error), + }) .switch() .attach_printable("There was an issue in incoming webhook source verification")?;