Minor change: added more detail to the error message