Zulip Chat Archive
Stream: lean4
Topic: Panics in the web editor
Eric Wieser (Aug 11 2024 at 21:45):
Is it possible to see panic messages in the web editor? The following only works in vscode:
#eval (panic "oh no" : Nat)
Eric Wieser (Aug 11 2024 at 21:46):
(context: lean4#4983, where I wanted to reproduce a panic but couldn't do so in the editor!)
Jon Eugster (Aug 11 2024 at 22:08):
https://github.com/leanprover-community/lean4web/issues/33
I added an issue :+1:
Eric Wieser (Aug 11 2024 at 22:31):
Thanks! Did this use to work, or am I thinking of only the "internal panic"s which crash the server?
Sebastian Ullrich (Aug 12 2024 at 05:44):
This will likely "just work" in 4.12.0 lean#4952
Jon Eugster (Aug 12 2024 at 07:41):
I vaguely remember that Alex did a manual banner for when the server crashed, which had the same style as the ones in VSCode
Last updated: May 02 2025 at 03:31 UTC