Added default error catchall to avoid them reaching the debugger.