Logs error to stderr.