mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-01-15 08:13:43 +01:00
Improved logging on failed updates
Former-commit-id: 76b8b8829276b32926e096b400e32f59dbaca8ea
This commit is contained in:
@@ -250,9 +250,10 @@ public class Engine {
|
||||
source.update();
|
||||
} catch (UpdateException ex) {
|
||||
Logger.getLogger(Engine.class.getName()).log(Level.WARNING,
|
||||
"Unable to update " + source.getClass().getName());
|
||||
"Unable to update {0}", source.getClass().getName());
|
||||
Logger.getLogger(Engine.class.getName()).log(Level.INFO,
|
||||
"Unable to update details for " + source.getClass().getName(), ex);
|
||||
String.format("Unable to update details for {0}",
|
||||
source.getClass().getName()), ex);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user