If the plan is to do an alert() is there a need to do the console.error as well?