Skip to content

Commit

Permalink
Resolve LoggerInterpolationConsumesThrowable issue in HadoopCatalog
Browse files Browse the repository at this point in the history
  • Loading branch information
rzhang10 committed Dec 3, 2024
1 parent ffb1faf commit 63085a2
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ private boolean isTableDir(Path path) {
return false;
} catch (IOException e) {
if (shouldSuppressPermissionError(e)) {
LOG.warn("Unable to list metadata directory {}: {}", metadataPath, e);
LOG.warn("Unable to list metadata directory {}", metadataPath, e);
return false;
} else {
throw new UncheckedIOException(e);
Expand All @@ -177,7 +177,7 @@ private boolean isDirectory(Path path) {
return false;
} catch (IOException e) {
if (shouldSuppressPermissionError(e)) {
LOG.warn("Unable to list directory {}: {}", path, e);
LOG.warn("Unable to list directory {}", path, e);
return false;
} else {
throw new UncheckedIOException(e);
Expand Down

0 comments on commit 63085a2

Please sign in to comment.