Added logging

This commit is contained in:
Marcin Grzejszczak
2018-07-02 11:18:55 +02:00
parent 52eeac0a2a
commit ccc22a1688
2 changed files with 2 additions and 2 deletions

View File

@@ -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);

View File

@@ -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) {