Ignore some expression exceptions

This commit is contained in:
crschnick 2023-12-22 11:20:46 +00:00
parent a609ccbde2
commit da71e1172c

View file

@ -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 {