Use console.error in the example