mirror of
https://github.com/ysoftdevs/DependencyCheck.git
synced 2026-04-01 06:33:46 +02:00
avoid null logging statements
This commit is contained in:
@@ -203,7 +203,9 @@ public class App {
|
|||||||
exitCode = -14;
|
exitCode = -14;
|
||||||
}
|
}
|
||||||
for (Throwable e : ex.getExceptions()) {
|
for (Throwable e : ex.getExceptions()) {
|
||||||
LOGGER.error(e.getMessage());
|
if (e.getMessage() != null) {
|
||||||
|
LOGGER.error(e.getMessage());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
} finally {
|
} finally {
|
||||||
settings.cleanup();
|
settings.cleanup();
|
||||||
|
|||||||
Reference in New Issue
Block a user