Allow warning, but not breaking the build

Added option `breakOnError`, true by default. If set to `false`, only warns.