tailscale/cmd/tsconnect
Mihai Parparita a3d74c4548 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>
2022-07-27 15:42:58 -07:00
..
dist cmd/tsconnect: initial scaffolding for Tailscale Connect browser client 2022-07-19 13:43:08 -07:00
src cmd/tsconnect: add basic panic handling 2022-07-27 15:42:58 -07:00
wasm cmd/tsconnect: add basic panic handling 2022-07-27 15:42:58 -07:00
.gitignore cmd/tsconnect: initial scaffolding for Tailscale Connect browser client 2022-07-19 13:43:08 -07:00
build.go cmd/tsconnect: allow building static resources in a different directory 2022-07-20 10:14:43 -07:00
common.go cmd/tsconnect: add Tailwind CSS support and switch to using it 2022-07-27 14:05:45 -07:00
dev.go cmd/tsconnect: initial scaffolding for Tailscale Connect browser client 2022-07-19 13:43:08 -07:00
index.html cmd/tsconnect: add Tailwind CSS support and switch to using it 2022-07-27 14:05:45 -07:00
package.json cmd/tsconnect: add Tailwind CSS support and switch to using it 2022-07-27 14:05:45 -07:00
serve.go cmd/tsconnect: switch to TypeScript 2022-07-27 13:50:34 -07:00
tailwind.config.js cmd/tsconnect: add Tailwind CSS support and switch to using it 2022-07-27 14:05:45 -07:00
tsconfig.json cmd/tsconnect: switch to TypeScript 2022-07-27 13:50:34 -07:00
tsconnect.go cmd/tsconnect: pin yarn and node 2022-07-22 11:36:49 -07:00
yarn.lock cmd/tsconnect: add Tailwind CSS support and switch to using it 2022-07-27 14:05:45 -07:00