Log the exception message instead of class name

Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>
pull/4718/head
Jimmy Tanagra 2025-04-30 19:45:41 +10:00 committed by Kai Kreuzer
parent 3e0d14fed4
commit 482848117e
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ public class YamlConfigurationV1TagsUpgrader implements Upgrader {
@Override
public FileVisitResult visitFileFailed(@NonNullByDefault({}) Path file,
@NonNullByDefault({}) IOException exc) throws IOException {
logger.warn("Failed to process {}: {}", file.toAbsolutePath(), exc.getClass().getSimpleName());
logger.warn("Failed to process {}: {}", file.toAbsolutePath(), exc.getMessage());
return FileVisitResult.CONTINUE;
}
});