A more user friendly error message

Small patch...