diff --git a/Cargo.toml b/Cargo.toml index e890214..5598036 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -22,7 +22,7 @@ debug-logs = [] [dependencies] breakpad-handler = { version = "0.2.0", path = "./breakpad-handler" } -sentry-core = { version = ">=0.29", features = ["client"] } +sentry-core = { version = ">=0.31.7", features = ["client"] } serde_json = "1.0" [workspace] diff --git a/src/shared.rs b/src/shared.rs index 738b138..7b6902e 100644 --- a/src/shared.rs +++ b/src/shared.rs @@ -23,7 +23,7 @@ pub(crate) fn assemble_envelope(md: CrashMetadata, minidump_path: &Path) -> prot event_id: minidump_path .file_stem() .and_then(|fname| fname.to_str().and_then(|fs| fs.parse::().ok())) - .unwrap_or_else(types::Uuid::new_v4), + .unwrap_or_else(types::random_uuid), level: proto::Level::Fatal, timestamp, ..Default::default()