break_on_bad now causes a value error instead of dropping to the debugger.