Trap exceptions around deployproxy and listdeployments.