mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-09-30 00:56:56 +13:00
Ignore some expression exceptions
This commit is contained in:
parent
a609ccbde2
commit
da71e1172c
1 changed files with 9 additions and 4 deletions
|
@ -57,10 +57,15 @@ public class FileSystemHelper {
|
||||||
return path;
|
return path;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
try {
|
||||||
return shell.get()
|
return shell.get()
|
||||||
.getShellDialect()
|
.getShellDialect()
|
||||||
.evaluateExpression(shell.get(), path)
|
.evaluateExpression(shell.get(), path)
|
||||||
.readStdoutOrThrow();
|
.readStdoutOrThrow();
|
||||||
|
} catch (Exception ex) {
|
||||||
|
ErrorEvent.unreportable(ex);
|
||||||
|
throw ex;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static String resolveDirectoryPath(OpenFileSystemModel model, String path) throws Exception {
|
public static String resolveDirectoryPath(OpenFileSystemModel model, String path) throws Exception {
|
||||||
|
|
Loading…
Reference in a new issue