Skip to content

Commit

Permalink
Throw new error in case of invalid settings (#3843)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbert authored Jan 5, 2022
1 parent 10ce555 commit c0c986e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/core/Settings.js
Original file line number Diff line number Diff line change
Expand Up @@ -946,6 +946,8 @@ function Settings() {
} else {
dest[n] = Utils.clone(source[n]);
}
} else {
throw new Error('Settings parameter ' + path + n + ' is not supported');
}
}
}
Expand Down

0 comments on commit c0c986e

Please sign in to comment.