From bfd583e325b2241babc4cb08381f201341ffabc4 Mon Sep 17 00:00:00 2001 From: crschnick Date: Wed, 9 Oct 2024 06:29:36 +0000 Subject: [PATCH] Report system fallback shell --- app/src/main/java/io/xpipe/app/issue/SentryErrorHandler.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/src/main/java/io/xpipe/app/issue/SentryErrorHandler.java b/app/src/main/java/io/xpipe/app/issue/SentryErrorHandler.java index 16834c4ff..0e3ebf7d7 100644 --- a/app/src/main/java/io/xpipe/app/issue/SentryErrorHandler.java +++ b/app/src/main/java/io/xpipe/app/issue/SentryErrorHandler.java @@ -4,6 +4,7 @@ import io.xpipe.app.core.AppLogs; import io.xpipe.app.core.AppProperties; import io.xpipe.app.core.AppState; import io.xpipe.app.core.mode.OperationMode; +import io.xpipe.app.ext.ProcessControlProvider; import io.xpipe.app.prefs.AppPrefs; import io.xpipe.app.update.XPipeDistributionType; import io.xpipe.app.util.LicenseProvider; @@ -163,6 +164,7 @@ public class SentryErrorHandler implements ErrorHandler { s.setTag("diagnostics", Boolean.toString(ee.isShouldSendDiagnostics())); s.setTag("licenseRequired", Boolean.toString(ee.isLicenseRequired())); + s.setTag("fallbackShell", AppPrefs.get() != null ? String.valueOf(AppPrefs.get().useLocalFallbackShell().get()) : "unknown"); var exMessage = ee.getThrowable() != null ? ee.getThrowable().getMessage() : null; if (ee.getDescription() != null