diff options
author | Mitch Garnaat <mitch@garnaat.com> | 2011-09-13 21:27:47 -0400 |
---|---|---|
committer | Mitch Garnaat <mitch@garnaat.com> | 2011-09-13 21:27:47 -0400 |
commit | 6ea03796b3f3fd8d2f0674dadb74eb5a0b7b4bb8 (patch) | |
tree | aace22e68600a38d1337810261c4302290bc87e7 | |
parent | f93cfa2d62708c0784a0633f47798d787e5dccd1 (diff) | |
download | boto-6ea03796b3f3fd8d2f0674dadb74eb5a0b7b4bb8.tar.gz |
Small tweak to exception handling in roboto stuff.2.1rc1
-rw-r--r-- | boto/roboto/awsqueryrequest.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/boto/roboto/awsqueryrequest.py b/boto/roboto/awsqueryrequest.py index 2b228750..c70fc599 100644 --- a/boto/roboto/awsqueryrequest.py +++ b/boto/roboto/awsqueryrequest.py @@ -26,6 +26,7 @@ import boto import optparse import copy import boto.exception +import boto.roboto.awsqueryservice import bdb import traceback @@ -437,6 +438,9 @@ class AWSQueryRequest(object): except self.ServiceClass.ResponseError, err: print 'Error(%s): %s' % (err.error_code, err.error_message) sys.exit(1) + except boto.roboto.awsqueryservice.NoCredentialsError, err: + print 'Unable to find credentials.' + sys.exit(1) except: print 'Unexpected error. Use --debugger option for more info.' sys.exit(1) |