log the error to stderr.