]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/import/pull-job.c
import: downgrade HTTP error code log message levels
[thirdparty/systemd.git] / src / import / pull-job.c
index bed7e6403057057c986a16f1a26baf38fb1064f9..a4feda40812539ba4d0326cefd6b38e490c3e5d8 100644 (file)
@@ -187,7 +187,7 @@ void pull_job_curl_on_finished(CurlGlue *g, CURL *curl, CURLcode result) {
                                 }
                         }
 
-                        r = log_error_errno(
+                        r = log_notice_errno(
                                         status == 404 ? SYNTHETIC_ERRNO(ENOMEDIUM) : SYNTHETIC_ERRNO(EIO), /* Make the most common error recognizable */
                                         "HTTP request to %s failed with code %li.", j->url, status);
                         goto finish;