diff --git a/Cargo.toml b/Cargo.toml index b23f63f..9b4000b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -88,3 +88,7 @@ members = ["registry"] [profile.dev.package.full_moon] opt-level = 3 + +[profile.release.package.pesde-registry] +# add debug symbols for Sentry stack traces +debug = "full" \ No newline at end of file diff --git a/registry/src/main.rs b/registry/src/main.rs index 7bf2b82..7ef9984 100644 --- a/registry/src/main.rs +++ b/registry/src/main.rs @@ -201,7 +201,7 @@ fn main() -> std::io::Result<()> { } let _guard = if let Some(sentry_url) = sentry_url { - std::env::set_var("RUST_BACKTRACE", "1"); + std::env::set_var("RUST_BACKTRACE", "full"); Some(sentry::init(( sentry_url,