aboutsummaryrefslogtreecommitdiff
path: root/doc/next/6-stdlib/99-minor/runtime/debug/42888.md
blob: 2a65e691feaee9c56adced45900d8dbf5e1c7318 (plain)
1
2
3
4
5
6
The [SetCrashOutput] function allows the user to specify an alternate
file to which the runtime should write its fatal crash report.
It may be used to construct an automated reporting mechanism for all
unexpected crashes, not just those in goroutines that explicitly use
`recover`.