Skip to content

Commit e8f6ed6

Browse files
sfc-gh-pbulawasfc-gh-pmotacki
authored andcommitted
Remove catch
1 parent 38c4735 commit e8f6ed6

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

src/main/java/net/snowflake/client/core/FileUtil.java

+1-5
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,6 @@ public static boolean exists(File file) {
197197
if (file == null) {
198198
return false;
199199
}
200-
try {
201-
return file.exists();
202-
} catch (Exception e) {
203-
return false;
204-
}
200+
return file.exists();
205201
}
206202
}

0 commit comments

Comments
 (0)