mirror of https://github.com/tailscale/tailscale/
cmd/tsconnect: add basic panic handling
The go wasm process exiting is a sign of an unhandled panic. Also add a explicit recover() call in the notify callback, that's where most logic bugs are likely to happen (and they may not be fatal). Also fixes the one panic that was encountered (nill pointer dereference when generating the JS view of the netmap). Fixes #5132 Signed-off-by: Mihai Parparita <mihai@tailscale.com>pull/5203/head
parent
4dbdb19c26
commit
a3d74c4548
Loading…
Reference in New Issue