gnodet commented on code in PR #1061:
URL: https://github.com/apache/maven/pull/1061#discussion_r1140006639
##########
maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java:
##########
@@ -136,6 +136,13 @@ static Properties getBuildProperties() {
}
public static void showError(Logger logger, String message, Throwable e,
boolean showStackTrace) {
+ if (logger == null) {
Review Comment:
If `showError` is called before the logger is initialised...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]