summaryrefslogtreecommitdiff
path: root/imdb-lookup
diff options
context:
space:
mode:
authorYves Fischer <yvesf-git@xapek.org>2014-12-11 00:27:16 +0100
committerYves Fischer <yvesf-git@xapek.org>2014-12-11 00:27:16 +0100
commit74023a791c04c121781018c807c8f2ee1d1d2baf (patch)
tree5809c5801ee3328f01cf91e89784f01997e52803 /imdb-lookup
parent955d0ec021c8488118cac550a04819ebfe073654 (diff)
downloadscripts-74023a791c04c121781018c807c8f2ee1d1d2baf.tar.gz
scripts-74023a791c04c121781018c807c8f2ee1d1d2baf.zip
log exception type
Diffstat (limited to 'imdb-lookup')
-rwxr-xr-ximdb-lookup/imdbinfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/imdb-lookup/imdbinfo.py b/imdb-lookup/imdbinfo.py
index 4290dac..15c19bd 100755
--- a/imdb-lookup/imdbinfo.py
+++ b/imdb-lookup/imdbinfo.py
@@ -218,7 +218,7 @@ class Protector(object):
except KeyboardInterrupt as e:
raise e
except Exception as e:
- logging.error("Error calling %s: %s", name, e)
+ logging.error("Error calling %s: %s: %s", name, type(e), e)
return None
if callable(attr):
return protected