Skip to content

Commit 99fe92a

Browse files
authored
Revert "feat(general): Add thread.errored attribute (#306)"
This reverts commit 03b3c39.
1 parent cad23b3 commit 99fe92a

File tree

5 files changed

+1
-1157
lines changed

5 files changed

+1
-1157
lines changed

general/src/protocol/thread.rs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -87,15 +87,12 @@ pub struct Thread {
8787
#[metastructure(skip_serialization = "empty")]
8888
pub raw_stacktrace: Annotated<RawStacktrace>,
8989

90-
/// Indicates that this thread crashed (likely also crashing the application).
90+
/// Indicates that this thread requested the event (usually by crashing).
9191
pub crashed: Annotated<bool>,
9292

9393
/// Indicates that the thread was not suspended when the event was created.
9494
pub current: Annotated<bool>,
9595

96-
/// Indicates that this thread errored, which caused this event.
97-
pub errored: Annotated<bool>,
98-
9996
/// Additional arbitrary fields for forwards compatibility.
10097
#[metastructure(additional_properties)]
10198
pub other: Object<Value>,
@@ -133,7 +130,6 @@ fn test_thread_roundtrip() {
133130
"name": "myname",
134131
"crashed": true,
135132
"current": true,
136-
"errored": true,
137133
"other": "value"
138134
}"#;
139135
let thread = Annotated::new(Thread {
@@ -143,7 +139,6 @@ fn test_thread_roundtrip() {
143139
raw_stacktrace: Annotated::empty(),
144140
crashed: Annotated::new(true),
145141
current: Annotated::new(true),
146-
errored: Annotated::new(true),
147142
other: {
148143
let mut map = Map::new();
149144
map.insert(

0 commit comments

Comments
 (0)