mirror of
https://github.com/pesde-pkg/pesde.git
synced 2024-12-12 11:00:36 +00:00
fix(registry): add debug symbols for Sentry
This commit is contained in:
parent
901b450a6c
commit
8afc75d543
2 changed files with 5 additions and 1 deletions
|
@ -88,3 +88,7 @@ members = ["registry"]
|
||||||
|
|
||||||
[profile.dev.package.full_moon]
|
[profile.dev.package.full_moon]
|
||||||
opt-level = 3
|
opt-level = 3
|
||||||
|
|
||||||
|
[profile.release.package.pesde-registry]
|
||||||
|
# add debug symbols for Sentry stack traces
|
||||||
|
debug = "full"
|
|
@ -201,7 +201,7 @@ fn main() -> std::io::Result<()> {
|
||||||
}
|
}
|
||||||
|
|
||||||
let _guard = if let Some(sentry_url) = sentry_url {
|
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((
|
Some(sentry::init((
|
||||||
sentry_url,
|
sentry_url,
|
||||||
|
|
Loading…
Reference in a new issue