Expand description
A GUI binary with panic = "abort" has nowhere to print, so a panic would
be a vanished window and an offset into a stripped exe. The hook runs before
the abort: it writes where and why into the run log, and tells the user in
their language where that is, offering to show the file.
Staticsยง
- LOG ๐
- Until the wizard knows the run logโs file; a panic before that goes beside the exe.
- QUIET ๐
- Writes the report but shows no window, for
--selftest-panic, which has nobody to click.
Functionsยง
- be_
quiet - fallback ๐
pacenotes-installer-crash.lognext to the exe.- install_
panic_ hook - log_to
- Points later panics at this runโs log file.
- record ๐
- Where
textwas appended, if anywhere; best effort, since failing to write a panic must not become a second one. - tell_
the_ ๐user - A plain message and the file to send; the technical line is only shown when there is no file to hold it.