The error handlers were a little too effective. They obscured a large chunk of the stacktrace after errors, even in debug mode. This fixes that and ensures backtraces in debug mode are more helpful.