From c03a3a2606d992c48761de2a21b929d8564141ba Mon Sep 17 00:00:00 2001 From: Deirdre Connolly Date: Fri, 4 Dec 2020 05:52:29 -0500 Subject: [PATCH] Pull DSN from runtime env, enable Sentry debug mode with RUST_LOG=debug --- zebrad/src/bin/zebrad/main.rs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zebrad/src/bin/zebrad/main.rs b/zebrad/src/bin/zebrad/main.rs index b5c2ef5a..ca5a916c 100644 --- a/zebrad/src/bin/zebrad/main.rs +++ b/zebrad/src/bin/zebrad/main.rs @@ -10,7 +10,10 @@ fn main() { if cfg!(feature = "enable-sentry") { // The Sentry default config pulls in the DSN from the `SENTRY_DSN` // environment variable. - let _guard = sentry::init(()); + let _guard = sentry::init(sentry::ClientOptions { + debug: true, + ..Default::default() + }); } abscissa_core::boot(&APPLICATION);