diff --git a/pubs/endecoder.py b/pubs/endecoder.py index 1c92cf4..45ad275 100644 --- a/pubs/endecoder.py +++ b/pubs/endecoder.py @@ -127,4 +127,4 @@ class EnDecoder(object): except Exception: import traceback traceback.print_exc() - raise ValueError('could not parse bibdata') + raise ValueError('could not parse provided bibdata:\n{}'.format(bibdata))