fix(registry): add debug symbols for Sentry

This commit is contained in:
daimond113 2024-10-25 10:58:21 +02:00
parent 901b450a6c
commit 8afc75d543
No known key found for this signature in database
GPG key ID: 3A8ECE51328B513C
2 changed files with 5 additions and 1 deletions

View file

@ -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"

View file

@ -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,