1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
Commit Graph

2 Commits

Author SHA1 Message Date
Sebastian Malton
dd5cd89ba5 Cleanup sentry integration
- Don't setup sentry until after UserStore has been initialized. It
  won't send anything and furthermore UserStore.getInstance() will throw

- Remove isValidURL as we already have input_validators.isUrl

- Remove isValidSentryDsn as Sentry will report that for us.
  Furthermore, the user setting can just assume that it being set in the
  package.json is good enough.

- Move to using import() for the sentry parts as it types correctly in
  TS.

Signed-off-by: Sebastian Malton <sebastian@malton.name>
2021-07-08 15:10:52 -04:00
chh
05b1a2fc5d
Add Sentry to capture exceptions and console.error messages, add a checkbox in preference to enable/disable error reporting (#3252) 2021-07-08 19:22:12 +03:00