-
-
Save jonasmalacofilho/28d8eb1d7d165bf4eeb9f6e9709941cf to your computer and use it in GitHub Desktop.
Restore getSentryTags() fix from fix-isDev-usage.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/fix-isDev-usage.patch b/fix-isDev-usage.patch | |
index cd0e4a70f5dd..972d3cca4fe0 100644 | |
--- a/fix-isDev-usage.patch | |
+++ b/fix-isDev-usage.patch | |
@@ -24,3 +24,15 @@ index e7a2cc5..2e1ebac 100644 | |
? "silly" | |
: "warn"), | |
(external_electron_log_default().transports.sentry = function (msg) { | |
+diff --git a/build/preload.js a/build/preload.js | |
+--- a/build/preload.js 2024-01-23 12:38:54.505566610 -0300 | |
++++ b/build/preload.js 2024-01-23 12:40:47.177191379 -0300 | |
+@@ -490,7 +490,7 @@ | |
+ } | |
+ getSentryTags() { | |
+ return { | |
+- environment: isDev ? "development" : "production", | |
++ environment: isDev() ? "development" : "production", | |
+ os: `${external_os_default().type()} ${external_os_default().release()}`, | |
+ "os.name": external_os_default().type(), | |
+ arch: process.arch, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment