Log the exception message instead of class name
Signed-off-by: Jimmy Tanagra <jcode@tanagra.id.au>pull/4718/head
parent
3e0d14fed4
commit
482848117e
|
@ -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;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue