Commit Graph
18 Commits
Author SHA1 Message Date
Terry Sutton 130dcb4a8d Filter out [t] is not a function (#36831)
* Filter out [t] is not a function

* Update
2025-07-02 21:23:50 +08:00
08a7b75f1e chore: add signed out redirect timeout (#35546)
* chore: add signed out redirect timeout

* Add modal

* Nudge language

* Add temp github link

* Use captureException

* Minor refactor

* Revert staging specific testing logic

* Fix the sentry message send

* Change to event

* Add debugging

* Use an actual error

* Adjust logging

* always send errors

* even more debugging

* Remove all beforeSend checks

* Restore beforeSend

* Debug

* Retry original

* Again

* Test always send

* Cleanup

* Test frames again

* Retry third party error function

* Cleanup

* Remove hardcoded debugging

---------

Co-authored-by: Terry Sutton <saltcod@gmail.com>
Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
2025-07-01 14:26:57 -02:30
Ivan Vasilov 31f1d08842 fix: Update Sentry filters (#36207)
* Ignore errors coming from browser extensions.

* Restructure the code to send the event at the end.
2025-06-05 22:40:57 +02:00
2b419c70a1 chore: add usercentrics for consent management (#35384)
* chore: add usercentrics for consent management

* client component to make next.js happy

* address feedback

* move consent state to common

* fix import

* ensure page events are sent correctly

* add feature flag provider to ui library site

* fix ui lib 500 error

* skip in test env

---------

Co-authored-by: Joshen Lim <joshenlimek@gmail.com>
Co-authored-by: Jordi Enric <jordi.err@gmail.com>
2025-05-05 13:18:48 +08:00
Ivan Vasilov ed77c3eb36 chore: Try to ignore the hcaptcha error (#35246)
Try to ignore the hcaptcha error.
2025-04-24 12:48:34 +02:00
Ivan Vasilov 35145f3d10 fix: Add an hcaptcha error to sentry ignore list (#34822)
* Ignore hcaptcha error.

* Ignore hcaptcha errors using a more resilient approach, props to Kamil.
2025-04-08 11:57:15 +02:00
Kamil Ogórek 219962e0e3 misc: Disable Sentry Tracing (#33072) 2025-01-24 16:07:33 +01:00
Ivan Vasilov 92955d5555 chore: Bump sentry to v8+ (#29896)
* Bump sentry to v8.

* Fix all obsolete APIs.

* Fix the sentry configs.

* Add pages for testing sentry.

* Add missing imports to sentry.config file.

* Add base path to the api path.

* Remove extra files.
2024-10-17 11:39:06 +02:00
Ivan Vasilov a35f7d7484 chore: Bump various dependencies with vulnerabilities (#29226)
* Bump path-to-regexp to fix a vulnerability.

* Bump micromatch.

* Bump svelte.

* Bump webpack.
2024-09-12 11:05:24 +02:00
Joshen Lim 9123889139 Ignore 504 errors on sentry (#27745)
* Ignore 504 errors on sentry

* Ignore insertBefore errors

* Ignore r.default.setDefaultLevel is not a function

* Ignore copyToClipboard errors
2024-07-02 19:23:28 +08:00
Joshen Lim f094813b3e Add some sentry filters (#27588)
* Add some sentry filters

* Add some sentry filters

* Add ? in copyCellValue
2024-06-27 19:39:39 +08:00
Ivan Vasilov 30f43b05b1 chore: Address the Failed to construct 'URL': Invalid URL error report in Sentry (#27245)
* If the error is Failed to construct 'URL': Invalid URL, send it only 1% of the cases it happened.

* Fix a type error.
2024-06-14 11:40:25 +02:00
Ivan Vasilov 71f860b28d fix: Use beforeSend hook in Sentry to check for telemetry consent (#26700)
* Add a beforeSend hook to sentry client config.

* Remove the canSendTelemetry function and all its uses.

* Use captureException for capturing unhandled error messages.
2024-05-23 17:04:27 +02:00
Ivan Vasilov 79dbfd1ccc fix: Add sourcemaps and error stacks in Sentry errors (#26474)
* Use Sentry Error boundary.

* Add a button for throwing error to test the sentry error boundary.

* trigger an error during rendering.

* Move the throwing of error.

* Fix the error boundary state.

* Try to throw an error from the project list.

* Revert to using react error boundary.

* Minor fixes.

* Add an example page for throwing an exception to be caught by Sentry. Remove the error filter from the Sentry client config.

* Remove config for allowing errors only from our code.

* When capturing an exception with Sentry, add a tag if the exception is in the boundary.

* Minor fixes.

* Remove testing code.

* Move forgotten code.

* Add a function for anonymized user id.

* Set the sentry user id by anonymizing the actual user id.

* Don't send Sentry reports if the user hasn't consented to the telemetry.

* Add a helper function whether the studio can send telemetry data.

* Reuse the helper function in the _app file.
2024-05-22 10:35:15 +00:00
Terry SuttonandKamil Ogórek e83ab44d12 Chore/GitHub gist sentry (#20138)
* Filter out errors related to github gist parse errors

* Update apps/studio/sentry.client.config.ts

Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>

---------

Co-authored-by: Kamil Ogórek <kamil.ogorek@gmail.com>
2024-01-04 19:05:37 -03:30
Kamil Ogórek 8e2dd4cdfc Cleanup sentry filters (#20127)
* ref: Remove stale Sentry event filters

* ref: Enable non-error objects to be captured by Sentry

* ref: Capture Sentry events originating from our own code only
2024-01-04 11:09:43 +07:00
Joshen Lim 39728bac04 Update denyUrls for sentry client config (#19657)
* Update denyUrls for sentry client config

* Update

* Update
2023-12-13 16:12:15 +07:00
Ivan Vasilov 436bdb10ae chore: Move the studio app to apps/studio (#18915)
* Move all studio files from /studio to /apps/studio.

* Move studio specific prettier ignores.

* Fix the ui references from studio.

* Fix the css imports.

* Fix all package.json issues.

* Fix the prettier setup for the studio app.

* Add .turbo folder to prettierignore.

* Fix the github workflows.
2023-11-15 12:38:55 +01:00