Skip to content

Commit

Permalink
Add panic recovery timestamp to crash report
Browse files Browse the repository at this point in the history
  • Loading branch information
walles committed Jan 1, 2025
1 parent 60f1900 commit 701bbb8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions moar.go
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,8 @@ func main() {
}

if err != nil {
fmt.Fprintln(os.Stderr)
fmt.Fprintln(os.Stderr, "Panic recovery timestamp:", time.Now())
fmt.Fprintln(os.Stderr)
panic(err)
}
Expand Down

0 comments on commit 701bbb8

Please sign in to comment.