Skip to content

Commit 9444679

Browse files
committed
fix: Remove the unprofessioanl whoopsy message
1 parent a469d2b commit 9444679

3 files changed

Lines changed: 2 additions & 9 deletions

File tree

src/panic.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,6 @@ fn write_msg<P: AsRef<Path>>(
107107
..
108108
} = meta;
109109

110-
writeln!(buffer, "Well, this is embarrassing.\n")?;
111110
writeln!(
112111
buffer,
113112
"{name} had a problem and crashed. To help us diagnose the \

tests/custom-panic/tests/integration.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,9 @@ fn release() {
55
.env_remove("CI")
66
.assert()
77
.stderr_eq(snapbox::str![[r#"
8-
Well, this is embarrassing.
9-
108
custom-panic-test had a problem and crashed. To help us diagnose the problem you can send us a crash report.
119
12-
We have generated a report file at "[..].toml". Submit an issue or email with the subject of "custom-panic-test Crash Report" and include the report as an attachment.
10+
We have generated a report file at "[..]". Submit an issue or email with the subject of "custom-panic-test Crash Report" and include the report as an attachment.
1311
1412
- Homepage: www.mycompany.com
1513
- Authors: My Company Support <support@mycompany.com

tests/single-panic/tests/integration.rs

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,9 @@ fn release() {
1414
.env_remove("CI")
1515
.assert()
1616
.stderr_eq(snapbox::str![[r#"
17-
Well, this is embarrassing.
18-
1917
single-panic-test had a problem and crashed. To help us diagnose the problem you can send us a crash report.
2018
21-
We have generated a report file at "[..].toml". Submit an issue or email with the subject of "single-panic-test Crash Report" and include the report as an attachment.
19+
We have generated a report file at "[..]". Submit an issue or email with the subject of "single-panic-test Crash Report" and include the report as an attachment.
2220
2321
- Authors: Human Panic Authors <human-panic-crate@example.com>
2422
@@ -138,8 +136,6 @@ method = "Panic"
138136
backtrace = [..]
139137
...
140138
141-
Well, this is embarrassing.
142-
143139
single-panic-test had a problem and crashed. To help us diagnose the problem you can send us a crash report.
144140
145141
- Authors: Human Panic Authors <human-panic-crate@example.com>

0 commit comments

Comments
 (0)