Skip to content

Commit

Permalink
Move logging configuration to beginning of call() method
Browse files Browse the repository at this point in the history
  • Loading branch information
melissalinkert committed Jan 9, 2024
1 parent 9e6bf4d commit 665e0a8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -486,6 +486,8 @@ public IProgressListener getProgressListener() {

@Override
public Void call() throws Exception {
setupLogger();

if (printVersion) {
printVersion();
return null;
Expand All @@ -504,8 +506,6 @@ public Void call() throws Exception {
// Resolve symlinks
inputDirectory = inputDirectory.toRealPath();

setupLogger();

// we could support this case later, just keeping it simple for now
if (splitBySeries && legacy) {
throw new IllegalArgumentException("--split not supported with --legacy");
Expand Down

0 comments on commit 665e0a8

Please sign in to comment.