Browse Source

don't fail in debug

j 1 week ago
parent
commit
cd18efa40d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      oml/meta/__init__.py

+ 1
- 1
oml/meta/__init__.py View File

@@ -32,7 +32,7 @@ def lookup_isbn(value):
32 32
     try:
33 33
         data = google.info(value)
34 34
     except:
35
-        logger.debug('google.info failed %s=%s', key, value, exc_info=True)
35
+        logger.debug('google.info failed for %s', value, exc_info=True)
36 36
         data = {}
37 37
     for key in [k['id'] for k in settings.config['itemKeys'] if isinstance(k['type'], list)]:
38 38
         if key in data and not isinstance(data[key], list):