added breakOnError option to allow warnings, but not breaking the build