Improve error message.

This is in response to an email on the mailing list that showed an error message that wasn't particularly helpful.