Print key in error
Merge pull request #475 from xschildw/fix-except-msg

Print key in error