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 shell.get()
|
||||
.getShellDialect()
|
||||
.evaluateExpression(shell.get(), path)
|
||||
.readStdoutOrThrow();
|
||||
try {
|
||||
return shell.get()
|
||||
.getShellDialect()
|
||||
.evaluateExpression(shell.get(), path)
|
||||
.readStdoutOrThrow();
|
||||
} catch (Exception ex) {
|
||||
ErrorEvent.unreportable(ex);
|
||||
throw ex;
|
||||
}
|
||||
}
|
||||
|
||||
public static String resolveDirectoryPath(OpenFileSystemModel model, String path) throws Exception {
|
||||
|
|
Loading…
Reference in a new issue