diff options
| author | Santo Cariotti <santo@dcariotti.me> | 2022-10-03 19:45:36 +0000 |
|---|---|---|
| committer | Santo Cariotti <santo@dcariotti.me> | 2022-10-03 19:45:36 +0000 |
| commit | d39a8c73776d82a115f1a680ce90152407b7cea0 (patch) | |
| tree | 3761ef7f8c8e928cc75c9ecaffe3e46ad815d337 /src | |
| parent | 0940a794ce4fd0ed6468902c8589a2c9e2bd4f8e (diff) | |
Log sentry event created
Diffstat (limited to 'src')
| -rw-r--r-- | src/errors.rs | 3 |
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 } } |
