summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--redfish-core/lib/task.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/redfish-core/lib/task.hpp b/redfish-core/lib/task.hpp
index 4540c81bf3..12425c1c08 100644
--- a/redfish-core/lib/task.hpp
+++ b/redfish-core/lib/task.hpp
@@ -158,6 +158,7 @@ struct TaskData : std::enable_shared_from_this<TaskData>
self->finishTask();
self->state = "Cancelled";
self->status = "Warning";
+ self->messages.emplace_back(messages::internalError());
self->callback(ec, msg, self);
});
}