diff --git a/gas/deploy.py b/gas/deploy.py index 7506a7a..cdd18f1 100644 --- a/gas/deploy.py +++ b/gas/deploy.py @@ -87,7 +87,8 @@ def upload_build(self, opts, existing_files): if int(resp['status']) == 200: print "Done." else: - print "Error (%s)." % resp['status'] + error_response = json.loads(content)['error'] + print "Error (%s).\n%s" % (resp['status'], error_response['message']) def get_existing_files(self, opts): (resp, content) = self.get_client(opts).request(