Improve error handling in GUI archive api client test.
Improve error handling in GUI archive api client test.

dimitern/juju,perrito666/juju,marcmolla/juju,makyo/juju,perrito666/juju,mikemccracken/juju,anastasiamac/juju,howbazaar/juju,macgreagoir/juju,axw/juju,gabriel-samfira/juju,gabriel-samfira/juju,bz2/juju,frankban/juju,bz2/juju,kat-co/juju,mjs/juju,mjs/juju,bac/juju,anastasiamac/juju,perrito666/juju,howbazaar/juju,marcmolla/juju,mikemccracken/juju,waigani/juju,bogdanteleaga/juju,bz2/juju,dimitern/juju,bac/juju,reedobrien/juju,mikemccracken/juju,frankban/juju,reedobrien/juju,AdamIsrael/juju,mjs/juju,mjs/juju,makyo/juju,macgreagoir/juju,dooferlad/juju,perrito666/juju,waigani/juju,mjs/juju,bac/juju,marcmolla/juju,axw/juju,macgreagoir/juju,AdamIsrael/juju,ericsnowcurrently/juju,ericsnowcurrently/juju,perrito666/juju,ericsnowcurrently/juju,alesstimec/juju,bac/juju,gabriel-samfira/juju,kat-co/juju,marcmolla/juju,dooferlad/juju,alesstimec/juju,bz2/juju,ericsnowcurrently/juju,dooferlad/juju,howbazaar/juju,bogdanteleaga/juju,kat-co/juju,mikemccracken/juju,waigani/juju,macgreagoir/juju,gabriel-samfira/juju,howbazaar/juju,axw/juju,waigani/juju,reedobrien/juju,anastasiamac/juju,AdamIsrael/juju,kat-co/juju,dimitern/juju,mikemccracken/juju,dooferlad/juju,alesstimec/juju,mjs/juju,makyo/juju,alesstimec/juju,howbazaar/juju,dimitern/juju,bogdanteleaga/juju,frankban/juju,reedobrien/juju,marcmolla/juju,bogdanteleaga/juju,bz2/juju,bac/juju,ericsnowcurrently/juju,AdamIsrael/juju,anastasiamac/juju,axw/juju,kat-co/juju,dimitern/juju,axw/juju,macgreagoir/juju,gabriel-samfira/juju,reedobrien/juju,anastasiamac/juju,dooferlad/juju,frankban/juju,makyo/juju,mjs/juju,alesstimec/juju,frankban/juju