Please add return after this console.error.