Skip to content

Commit

Permalink
fix codestyle
Browse files Browse the repository at this point in the history
  • Loading branch information
7hong committed Oct 12, 2024
1 parent ccc7301 commit 9147f9f
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -344,9 +344,8 @@ private void deleteRemovedMetadataFiles(TableMetadata base, TableMetadata metada
.noRetry()
.suppressFailureWhenFinished()
.onFailure(
(previousMetadataFile, exc) ->
log.warn(
"Delete failed for previous metadata file: {}", previousMetadataFile, exc))
(file, e) ->
log.warn(e, "Delete failed for previous metadata file: %s", file))
.run(previousMetadataFile -> io().deleteFile(previousMetadataFile.file()));
}
}
Expand Down

0 comments on commit 9147f9f

Please sign in to comment.