avoid AttributeError during server_error processing