Mark Stacey
28e2354583
Fix Sentry error processing for errors missing a stack ( #8179 )
...
Errors without stack traces would break the Sentry error processing,
which assumes the presence of a stack trace. Many errors don't have any
stack trace though, such as uncaught promises.
This breakage resulting in the app state being missing from the error
report, and a console warning.
5 years ago
Whymarrh Whitby
a78cf0ef3a
Enable arrow-parens ESLint rule
5 years ago
Mark Stacey
cbfe5484d8
Add Sentry environment ( #7923 )
...
Any error sent to Sentry will now be marked with the environment they
were sent from. The environment is set at build time, and is set
dependant upon the build flags and CI-related environment variables.
Setting the environment will let us filter error reports in Sentry to
focus specifically upon reports sent from production, release
candidates, PR testing, or whatever else.
5 years ago
Mark Stacey
b8cdc928f6
Report errors in tests to `test-metamask` Sentry project ( #7924 )
...
Previously, all errors encountered during testing or production were
sent to the primary `metamask` Sentry project, whereas development
errors were sent to `test-metamask` instead. This change ensures that
errors encountered during tests are sent to `test-metamask` as well.
5 years ago
Mark Stacey
38a71a6067
Update Sentry to v5.x ( #7880 )
...
Theses changes were made in accordance with the provided migration
guide [1].
The two integrations added were included by default on v4.x, so this
shouldn't result in any change in behavior.
[1]: https://github.com/getsentry/sentry-javascript/blob/master/MIGRATION.md
5 years ago
Whymarrh Whitby
92971d3c87
Migrate codebase to use ESM ( #7730 )
...
* Update eslint-plugin-import version
* Convert JS files to use ESM
* Update ESLint rules to check imports
* Fix test:unit:global command env
* Cleanup mock-dev script
5 years ago
Whymarrh Whitby
aa41057628
Update ESLint rules for curly braces style ( #7477 )
...
* eslint: Enable curly and brace-style
* yarn lint --fix
5 years ago
Whymarrh Whitby
1988e1e96b
ESLint fixes ( #5775 )
...
* eslint . --fix
* Upgrade all ESLint warnings to errors
6 years ago
kumavis
73ec4e66cb
sentry - include app state in ui errors
6 years ago
kumavis
e3fda83ab2
sentry - replace raven-js with sentry/browser
6 years ago
kumavis
26b30a031d
sentry - move isBrave decoration to insides of try-catch
6 years ago
brunobar79
992e7f1b5a
fix merge conflicts
6 years ago
Jenny Pollack
00a2ab21ae
sentry - change releaseVersion to release
6 years ago
Jenny Pollack
16fc7efef1
remove local tests
6 years ago
Jenny Pollack
1a9748667d
sentry - add detection for Brave Browser
6 years ago
brunobar79
a8f745f9fe
eslint --fix .
7 years ago
kumavis
e2e4496c87
sentry - message rewrite - guard against missing message
7 years ago
kumavis
f41198fbb6
sentry - setupRaven - ensure message is truthy
7 years ago
Dan
6bc8cc819a
Merge branch 'develop' into i3725-refactor-send-component-
7 years ago
kumavis
93a9ef284e
sentry - add helper to fully rewrite all error messages
7 years ago
kumavis
e881ea7aaf
sentry - report error-like messages using the obj message
7 years ago
kumavis
2a8d3ea450
sentry - wrap report modifiers in a try-catch
7 years ago
frankiebee
873f85d996
guard adainst raven erroring
7 years ago
kumavis
00657e14a8
build - correctly set METAMASK_ENV via envify
7 years ago
kumavis
97e1fcd331
sentry - simplify error message 'Transaction Failed: known transaction'
7 years ago
kumavis
651e48dbd6
sentry - simplify all ethjs errors for better batching
7 years ago
kumavis
46e8781e41
lint - fix
7 years ago
kumavis
2eaac897bf
sentry - namespace files under metamask dir
7 years ago
kumavis
e3d7062e9b
sentry - rewrite report urls + use raven-js from npm
7 years ago
kumavis
fca2cbc8ef
sentry - clean - move setupRaven to lib
7 years ago
Thomas
97ca86733c
Merge branch 'master' into uat
7 years ago
kumavis
b91e2b5eb1
sentry - report failed txs
7 years ago
kumavis
daa62b507a
sentry - breakout raven setup and add release config
7 years ago