mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-04-24 08:31:39 -04:00
Ignore some expression exceptions
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user