Add more info to error message. #1064.