Send crash reports to Slack automatically (#4111)

This uploads apples crash reports to our servers when telemetry is
enabled.

Rather than jumping via the website, it uploads to collab directly. (I'd
like
to update the panic handler to do this too to make it possible to work
on that end-to-end without zed.dev running).

Release Notes:

- Added reporting of crashes when telemetry is enabled
This commit is contained in:
Conrad Irwin 2024-01-18 15:30:39 -07:00 committed by GitHub
commit 827a8dade5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 173 additions and 82 deletions

View file

@ -116,7 +116,8 @@ setTimeout(() => {
ZED_WINDOW_POSITION: positions[i],
ZED_STATELESS: "1",
ZED_ALWAYS_ACTIVE: "1",
ZED_SERVER_URL: "http://localhost:8080",
ZED_SERVER_URL: "http://localhost:3000",
ZED_RPC_URL: "http://localhost:8080/rpc",
ZED_ADMIN_API_TOKEN: "secret",
ZED_WINDOW_SIZE: `${instanceWidth},${instanceHeight}`,
PATH: process.env.PATH,