1 Commits

Author SHA1 Message Date
Tom Alexander
9e92c5c49f Add better logging.
Some checks failed
format Build format has failed
rust-test Build rust-test has failed
build Build build has failed
semver Build semver has succeeded
clippy Build clippy has failed
2026-05-02 21:54:24 -04:00

View File

@@ -77,14 +77,17 @@ pub(crate) async fn hook(
message: None,
}),
),
Err(_) => (
Err(e) => {
tracing::error!("Failed to handle push event: {}", e);
(
// StatusCode::INTERNAL_SERVER_ERROR,
StatusCode::OK,
Json(HookResponse {
ok: false,
message: Some("Failed to handle push event.".to_string()),
}),
),
)
}
}
}
HookRequest::Unrecognized(payload) => (