Skip to content

Commit

Permalink
Fixed error messages (#927)
Browse files Browse the repository at this point in the history
  • Loading branch information
mikewalch committed Sep 26, 2017
1 parent 14c0185 commit eb2b7db
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@ void overrideFluoConfig(FluoConfiguration config) {
String key = propArgs[0].trim();
String value = propArgs[1].trim();
if (key.isEmpty() || value.isEmpty()) {
throw new IllegalArgumentException("Invalid command line -D option: " + prop);
throw new IllegalArgumentException("Invalid command line -o option: " + prop);
} else {
config.setProperty(key, value);
}
} else {
throw new IllegalArgumentException("Invalid command line -D option: " + prop);
throw new IllegalArgumentException("Invalid command line -o option: " + prop);
}
}
}
Expand Down

0 comments on commit eb2b7db

Please sign in to comment.