delayed error output and dumping of error page