commit | 205e73ab05521518b12eddc825e7d7dbeb0254a9 | [log] [tgz] |
---|---|---|
author | Joe Gregorio <jcgregorio@google.com> | Sat Mar 12 09:55:31 2011 -0500 |
committer | Joe Gregorio <jcgregorio@google.com> | Sat Mar 12 09:55:31 2011 -0500 |
tree | e8c9d003d3173bb142d914c7495682418071c3d6 | |
parent | fa6630c0b3e8300ad488edb8159620ef868da086 [diff] [blame] |
Cleanup of samples including adding flags to control logging.
diff --git a/apiclient/discovery.py b/apiclient/discovery.py index cc31967..aabbade 100644 --- a/apiclient/discovery.py +++ b/apiclient/discovery.py
@@ -114,6 +114,7 @@ try: service = simplejson.loads(content) except ValueError, e: + logging.error('Failed to parse as JSON: ' + content) raise InvalidJsonError() fn = os.path.join(os.path.dirname(__file__), 'contrib',