mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-03-29 13:22:12 +02:00
Improved logging on failed updates
Former-commit-id: 76b8b8829276b32926e096b400e32f59dbaca8ea
This commit is contained in:
@@ -250,9 +250,10 @@ public class Engine {
|
|||||||
source.update();
|
source.update();
|
||||||
} catch (UpdateException ex) {
|
} catch (UpdateException ex) {
|
||||||
Logger.getLogger(Engine.class.getName()).log(Level.WARNING,
|
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,
|
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