From d5442e858da079f2aa24105288e0b82c92cb5fdd Mon Sep 17 00:00:00 2001 From: crschnick Date: Sun, 24 Mar 2024 05:53:34 +0000 Subject: [PATCH] Catch more temp dir errors --- app/src/main/java/io/xpipe/app/util/ShellTemp.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/io/xpipe/app/util/ShellTemp.java b/app/src/main/java/io/xpipe/app/util/ShellTemp.java index 57b5e545..591cb2eb 100644 --- a/app/src/main/java/io/xpipe/app/util/ShellTemp.java +++ b/app/src/main/java/io/xpipe/app/util/ShellTemp.java @@ -26,7 +26,7 @@ public class ShellTemp { try { // We did not set this in earlier versions. If we are running as a different user, it might fail Files.setPosixFilePermissions(temp, PosixFilePermissions.fromString("rwxrwxrwx")); - } catch (IOException e) { + } catch (Exception e) { ErrorEvent.fromThrowable(e).omit().expected().handle(); } }