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

Fix setupping of sentry after rebase

Co-authored-by: Mikko Aspiala <mikko.aspiala@gmail.com>

Signed-off-by: Janne Savolainen <janne.savolainen@live.fi>
This commit is contained in:
Janne Savolainen 2022-04-27 16:12:27 +03:00
parent c6c128e890
commit 00a5e54ce8
No known key found for this signature in database
GPG Key ID: 8C6CFB2FFFE8F68A
3 changed files with 3 additions and 2 deletions

View File

View File

View File

@ -4,14 +4,15 @@
*/
import { getInjectable } from "@ogre-tools/injectable";
import { afterApplicationIsReadyInjectionToken } from "../after-application-is-ready-injection-token";
import { SentryInit } from "../../../../common/sentry";
import { initializeSentryReporting } from "../../../../common/sentry";
import { init } from "@sentry/electron/main";
const setupSentryInjectable = getInjectable({
id: "setup-sentry",
instantiate: () => ({
run: () => {
SentryInit();
initializeSentryReporting(init);
},
}),