Skip to content

Commit

Permalink
chore(deps): Bump minidump to 0.16.0 (#792)
Browse files Browse the repository at this point in the history
  • Loading branch information
loewenheim authored May 31, 2023
1 parent 1a7508b commit ac15087
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 2 additions & 2 deletions examples/minidump_stackwalk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ publish = false
[dependencies]
async-trait = "0.1.53"
clap = "3.1.0"
minidump = "0.14.0"
minidump-processor = "0.14.0"
minidump = "0.16.0"
minidump-processor = "0.16.0"
symbolic = { path = "../../symbolic", features = ["symcache", "demangle", "cfi"] }
thiserror = "1.0.31"
tokio = {version = "1.18.1", features = ["macros", "rt"] }
Expand Down
8 changes: 3 additions & 5 deletions examples/minidump_stackwalk/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -457,11 +457,9 @@ impl fmt::Display for Report<'_> {
if let Some(ref assertion) = self.process_state.assertion {
writeln!(f, "Assertion: {assertion}")?;
}
if let Some(crash_reason) = self.process_state.crash_reason {
writeln!(f, "Crash reason: {crash_reason}")?;
}
if let Some(crash_address) = self.process_state.crash_address {
writeln!(f, "Crash address: 0x{crash_address:x}")?;
if let Some(ref exception_info) = self.process_state.exception_info {
writeln!(f, "Crash reason: {}", exception_info.reason)?;
writeln!(f, "Crash address: {}", exception_info.address)?;
}
if let Ok(duration) = self.process_state.time.duration_since(UNIX_EPOCH) {
writeln!(f, "Crash time: {}", duration.as_secs())?;
Expand Down

0 comments on commit ac15087

Please sign in to comment.