Output more verbose error message, fixes #1