[Fixes #78332762] allow the application to set whether or not to fail when there is a failing status code.