This needs to be `console.error` since it's an error and not just a log.