Skip to content

Commit 5fe5c75

Browse files
committed
Improve error message of drop bombs
1 parent 36812c7 commit 5fe5c75

File tree

1 file changed

+1
-1
lines changed
  • src/tools/build_helper/src/drop_bomb

1 file changed

+1
-1
lines changed

src/tools/build_helper/src/drop_bomb/mod.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ impl Drop for DropBomb {
4545
fn drop(&mut self) {
4646
if !self.defused && !std::thread::panicking() {
4747
panic!(
48-
"command constructed but not executed at {}: `{}`",
48+
"command constructed at `{}` was dropped without being executed: `{}`",
4949
self.armed_location,
5050
self.command.to_string_lossy()
5151
)

0 commit comments

Comments
 (0)