We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6622d9d commit c6a52ffCopy full SHA for c6a52ff
src/event_handler/debug.rs
@@ -60,7 +60,11 @@ impl<'a> DebugHandler<'a> {
60
Local::now().to_string().replace('"', "").to_string(),
61
),
62
data: SharedString::from(format!("{:?}", frame.data())),
63
- id: SharedString::from(format!("0x{:08X}", frame_id)),
+ id: if frame.is_extended() {
64
+ SharedString::from(format!("0x{:08X}", frame_id))
65
+ } else {
66
+ SharedString::from(format!("0x{:03X}", frame_id))
67
+ },
68
#[cfg(target_os = "linux")]
69
len: frame.len() as i32,
70
#[cfg(target_os = "windows")]
0 commit comments