diff options
author | Yves Fischer <yvesf-git@xapek.org> | 2014-12-11 00:27:16 +0100 |
---|---|---|
committer | Yves Fischer <yvesf-git@xapek.org> | 2014-12-11 00:27:16 +0100 |
commit | 74023a791c04c121781018c807c8f2ee1d1d2baf (patch) | |
tree | 5809c5801ee3328f01cf91e89784f01997e52803 /imdb-lookup | |
parent | 955d0ec021c8488118cac550a04819ebfe073654 (diff) | |
download | scripts-74023a791c04c121781018c807c8f2ee1d1d2baf.tar.gz scripts-74023a791c04c121781018c807c8f2ee1d1d2baf.zip |
log exception type
Diffstat (limited to 'imdb-lookup')
-rwxr-xr-x | imdb-lookup/imdbinfo.py | 2 |
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 |