Fix silly mistake with console.err instead of console.error