core/dbus-manager: be explicit that job enqueue errors are from EnqueueMarkedJobs call

Follow-up for 502d6f4bc9
This commit is contained in:
Mike Yuan
2026-01-16 20:21:22 +01:00
parent 7fb883fea8
commit 490067d41c

View File

@@ -2146,10 +2146,9 @@ static int method_enqueue_marked_jobs(sd_bus_message *message, void *userdata, s
reply, &error);
if (ERRNO_IS_NEG_RESOURCE(r))
return r;
if (r < 0) {
RET_GATHER(ret, r);
log_warning_errno(r, "%s", bus_error_message(&error, r));
}
if (r < 0)
RET_GATHER(ret, log_unit_warning_errno(u, r, "Failed to enqueue marked job: %s",
bus_error_message(&error, r)));
}
if (ret < 0)