Exceptions in dumpError are now caught.