Catch system errors while doing backtraces.