Show the whole error for ERR lockers

(This is based on top of the python-hesiod pull request (#2); if both this pull request and that one look good, you may just want to merge this one.)