continue tracing impl

This commit is contained in:
2026-06-09 21:17:03 +00:00
parent 39c2afa0a7
commit efb35d5a8a
7 changed files with 40 additions and 12 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
use axum::response::IntoResponse;
use reqwest::StatusCode;
use tracing::error;
#[derive(thiserror::Error, Debug)]
pub enum AppError {
@@ -55,7 +56,7 @@ impl IntoResponse for AppError {
"WebHook sig header is invalid".to_string(),
),
AppError::Other(err) => {
sentry_anyhow::capture_anyhow(&err);
error!(%err, "Internal server error");
(
StatusCode::INTERNAL_SERVER_ERROR,
"Internal server error".to_string(),