Skip to content

Commit

Permalink
Fixed #1577: Fail on incorrect parameter instead of showing a warning
Browse files Browse the repository at this point in the history
  • Loading branch information
Axel Fontaine committed Nov 27, 2017
1 parent 924a24e commit cce7c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flyway-core/src/main/java/org/flywaydb/core/Flyway.java
Expand Up @@ -1493,7 +1493,7 @@ public void configure(Map<String, String> props) {

for (String key : props.keySet()) {
if (key.startsWith("flyway.")) {
LOG.warn("Unknown configuration property: " + key);
throw new FlywayException("Unknown configuration property: " + key);
}
}
}
Expand Down

0 comments on commit cce7c66

Please sign in to comment.