Pull DSN from runtime env, enable Sentry debug mode with RUST_LOG=debug
This commit is contained in:
parent
1fb9198248
commit
c03a3a2606
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue