Catching and dumping remote error successfully