Updated error with console log/warn