Skip to content

Commit

Permalink
Fix log message to contain correct exception class name (#12415)
Browse files Browse the repository at this point in the history
* Fix log message to contain correct exception class name

* Keep catching FileAlreadyExistsException

---------

Signed-off-by: Olivier Lamy <olamy@apache.org>
  • Loading branch information
olamy authored Oct 23, 2024
1 parent 7bc94d6 commit 67d4825
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -262,9 +262,9 @@ public static void unzip(Path archive, Path outputDir) throws IOException
}
}
}
catch (FileAlreadyExistsException | FileSystemAlreadyExistsException e)
catch (FileSystemAlreadyExistsException | FileAlreadyExistsException e)
{
LOG.warn("ignore FileAlreadyExistsException: archiveURI {}, outputDir {}", archiveURI, outputDir);
LOG.warn("ignore {}: archiveURI {}, outputDir {}", e.getClass().getSimpleName(), archiveURI, outputDir);
}
}

Expand Down

0 comments on commit 67d4825

Please sign in to comment.