Enable xerror in python tooling 50/77450/2
authorJames Harrison <00jamesh@gmail.com>
Thu, 27 Apr 2017 16:12:23 +0000 (17:12 +0100)
committerDave Rigby <daver@couchbase.com>
Fri, 28 Apr 2017 11:26:31 +0000 (11:26 +0000)
commit93710b48c090293da4f46a85f096054fa6ea63f1
treeb1b7a22a1bf8bec17c8cef68fae8ebb42b767e21
parent9f76e3c16733f2c2d5dc23bac676c6281340d952
Enable xerror in python tooling

A number of errors are explicitly handled and give reasonable errors,
but the remaining exceptions will now print the associated message from
the error map too. Errors which would previously lead to being
disconnected as the client would not understand are now received and
raised appropriately.

Change-Id: I69205b105d066f2899f7152969e96065682b0708
Reviewed-on: http://review.couchbase.org/77450
Tested-by: Build Bot <build@couchbase.com>
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: James Harrison <james.harrison@couchbase.com>
management/cli_auth_utils.py