mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-30 00:56:56 +13:00
Catch more temp dir errors
This commit is contained in:
parent
a44594ef5f
commit
d5442e858d
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ public class ShellTemp {
|
||||||
try {
|
try {
|
||||||
// We did not set this in earlier versions. If we are running as a different user, it might fail
|
// 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"));
|
Files.setPosixFilePermissions(temp, PosixFilePermissions.fromString("rwxrwxrwx"));
|
||||||
} catch (IOException e) {
|
} catch (Exception e) {
|
||||||
ErrorEvent.fromThrowable(e).omit().expected().handle();
|
ErrorEvent.fromThrowable(e).omit().expected().handle();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue