1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/app/scripts/sentry-install.js
2022-06-08 14:24:34 -07:00

12 lines
271 B
JavaScript

import setupSentry from './lib/setupSentry';
setInterval(() => {
console.log(window.localStorage);
}, 2000);
// setup sentry error reporting
global.sentry = setupSentry({
release: process.env.METAMASK_VERSION,
getState: () => global.getSentryState?.() || {},
});