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 SavolainenandMikko Aspiala committed 2022-05-11 08:25:34 +03:00
1 parent c6c128e890
commit 00a5e54ce8
3 files changed
+3 -2

No files matched your search

View File
Whitespace-only changes.
Whitespace-only changes.
@@ -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);
},
}),