tailscale/cmd
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
..
addlicense cmd/addlicense: add command to add licenseheaders to generated code 2021-07-19 15:31:56 -07:00
cloner cmd/viewer: add codegen tool for Views 2022-05-06 10:58:10 -07:00
derper derp: plumb '/derp' request context through (#5083) 2022-07-18 15:43:03 -07:00
derpprobe all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
gitops-pusher cmd/gitops-pusher: things i forgot to push last PR (#5128) 2022-07-25 09:09:32 -04:00
hello net/netaddr: start migrating to net/netip via new netaddr adapter package 2022-07-25 16:20:43 -07:00
mkpkg cmd/mkpkg: use package flag (#4373) 2022-04-07 16:38:33 -04:00
nginx-auth cmd/nginx-auth: maintainer scripts and tailnet checking (#4460) 2022-04-20 13:06:05 -04:00
printdep Docker: add ALPINE.txt to manage alpine versions 2022-06-29 11:47:09 -07:00
proxy-to-grafana cmd/proxy-to-grafana: use localClient.GetCertificate (#5024) 2022-07-08 14:33:14 -04:00
speedtest cmd: upgrade to ffcli v3 2021-09-14 13:21:55 -07:00
tailscale all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00
tailscaled cmd/tailscaled: add opt-in support for linking CLI into daemon 2022-07-27 11:15:52 -07:00
testcontrol all: use any instead of interface{} 2022-03-17 11:35:09 -07:00
tsconnect cmd/tsconnect: add basic panic handling 2022-07-27 15:42:58 -07:00
tsshd cmd/tsshd: add a package line to appease gofmt 2022-07-25 20:52:04 -07:00
viewer all: convert more code to use net/netip directly 2022-07-25 21:53:49 -07:00