diff --git a/j-lawyer-client/src/com/jdimension/jlawyer/client/utils/FileUtils.java b/j-lawyer-client/src/com/jdimension/jlawyer/client/utils/FileUtils.java index 0176b8bf..267ca8f8 100755 --- a/j-lawyer-client/src/com/jdimension/jlawyer/client/utils/FileUtils.java +++ b/j-lawyer-client/src/com/jdimension/jlawyer/client/utils/FileUtils.java @@ -1083,7 +1083,7 @@ public static void setPosixFilePermissions(String absolutePathToFile, boolean re // Set the permissions on the file Files.setPosixFilePermissions(path, perms); log.info("Executable flag added to the file: " + path); - } catch (IOException e) { + } catch (Throwable e) { log.error("Error adding executable flag: " + e.getMessage()); } }