From 59f080a67bc23368138044766cb2372420d5c5c5 Mon Sep 17 00:00:00 2001 From: Chris Smith <1979423+chris13524@users.noreply.github.com> Date: Thu, 22 Feb 2024 09:54:15 -0500 Subject: [PATCH] fix: log relay message (#376) * fix: log message ID * fix: log watch event message ID --- src/services/public_http_server/handlers/relay_webhook/mod.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/services/public_http_server/handlers/relay_webhook/mod.rs b/src/services/public_http_server/handlers/relay_webhook/mod.rs index 951ccaca..4344584d 100644 --- a/src/services/public_http_server/handlers/relay_webhook/mod.rs +++ b/src/services/public_http_server/handlers/relay_webhook/mod.rs @@ -106,6 +106,10 @@ pub async fn handler( let claims = WatchEventClaims::try_from_str(event) .map_err(|e| Error::ClientError(ClientError::ParseWatchEvent(e)))?; + info!( + "Received watch event with message ID: {}", + claims.evt.message_id + ); claims .verify_basic(&HashSet::from([state.config.notify_url.to_string()]), None)