Changing console.log(e) to a throw. console.log makes it go toString() which is pretty much the same as the e.message in the console.log call above it. This also made it impossible for QUnit to get it's hand on the actual error. Fixed it by moing it outside of the if statement so it can be caught. |