console.error isn't assumed to exist