Add debug statements to know which branch got triggered

Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
This commit is contained in:
Maxime “pep” Buquet 2024-07-14 01:03:15 +02:00
parent 9f55b37f34
commit a9a16c30bf
Signed by: pep
GPG key ID: DEDA74AEECA9D0F2

View file

@ -87,6 +87,7 @@ async fn hooks_inner(req: Request<Incoming>, secret: &str) -> Result<Hook, Error
}
// No match found for the payload
debug!("Found no matching payload");
Err(Error::InvalidRequest)
}