mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-22 07:30:24 +00:00
Report system fallback shell
This commit is contained in:
parent
531d019b54
commit
bfd583e325
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,7 @@ import io.xpipe.app.core.AppLogs;
|
||||||
import io.xpipe.app.core.AppProperties;
|
import io.xpipe.app.core.AppProperties;
|
||||||
import io.xpipe.app.core.AppState;
|
import io.xpipe.app.core.AppState;
|
||||||
import io.xpipe.app.core.mode.OperationMode;
|
import io.xpipe.app.core.mode.OperationMode;
|
||||||
|
import io.xpipe.app.ext.ProcessControlProvider;
|
||||||
import io.xpipe.app.prefs.AppPrefs;
|
import io.xpipe.app.prefs.AppPrefs;
|
||||||
import io.xpipe.app.update.XPipeDistributionType;
|
import io.xpipe.app.update.XPipeDistributionType;
|
||||||
import io.xpipe.app.util.LicenseProvider;
|
import io.xpipe.app.util.LicenseProvider;
|
||||||
|
@ -163,6 +164,7 @@ public class SentryErrorHandler implements ErrorHandler {
|
||||||
|
|
||||||
s.setTag("diagnostics", Boolean.toString(ee.isShouldSendDiagnostics()));
|
s.setTag("diagnostics", Boolean.toString(ee.isShouldSendDiagnostics()));
|
||||||
s.setTag("licenseRequired", Boolean.toString(ee.isLicenseRequired()));
|
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;
|
var exMessage = ee.getThrowable() != null ? ee.getThrowable().getMessage() : null;
|
||||||
if (ee.getDescription() != null
|
if (ee.getDescription() != null
|
||||||
|
|
Loading…
Reference in a new issue