Added slightly better error message.