Handle errors differently
Change-Id: Ib02ce8347ed2ed089023324a5beec7f0e22ce2bc
Reviewed-on: http://review.couchbase.org/39943
Reviewed-by: Chris Hillery <ceej@couchbase.com>
Tested-by: Chris Hillery <ceej@couchbase.com>