Skip to content

Commit

Permalink
fix(gstd): parse panic message correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
StackOverflowExcept1on committed Sep 1, 2024
1 parent 0a56013 commit 584c045
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gstd/src/common/handlers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ mod panic_handler {
}

if !self.found_delimiter {
if s == ":\n" {
if s == ":\n" || s == "\n" {
self.found_delimiter = true;
return Ok(());
}
Expand Down

0 comments on commit 584c045

Please sign in to comment.