summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/errors.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/errors.rs b/src/errors.rs
index 6b5451b..deac334 100644
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -59,7 +59,8 @@ impl IntoResponse for AppError {
impl From<sqlx::Error> for AppError {
fn from(error: sqlx::Error) -> AppError {
tracing::error!("{:?}", error);
- sentry::capture_error(&error);
+ let uuid = sentry::capture_error(&error);
+ tracing::info!("[Sentry] event '{}' created", uuid);
AppError::Database
}
}