Added logging
This commit is contained in:
@@ -45,7 +45,7 @@ public class ReleaserApplication implements CommandLineRunner {
|
||||
try {
|
||||
this.releaser.release(options);
|
||||
} catch (Exception e) {
|
||||
log.error("Exception occurred for the releaser", e);
|
||||
log.error("Exception occurred for the releaser. Picked options were [" + options + "]", e);
|
||||
throw e;
|
||||
}
|
||||
System.exit(0);
|
||||
|
||||
@@ -85,7 +85,7 @@ class OptionsParser implements Parser {
|
||||
.startFrom(startFrom)
|
||||
.range(range)
|
||||
.options();
|
||||
log.info("\n\nWill use the following options ot process the project\n\n{}\n\n", buildOptions);
|
||||
log.info("\n\nWill use the following options to process the project\n\n{}\n\n", buildOptions);
|
||||
return buildOptions;
|
||||
}
|
||||
catch (Exception e) {
|
||||
|
||||
Reference in New Issue
Block a user