Add error handing to gear binary_deploy