Added more detail to error message.