nmcs: add error message when a HTTP request times out
https://bugzilla.redhat.com/show_bug.cgi?id=1821787
This commit is contained in:
@@ -345,7 +345,8 @@ _poll_timeout_cb (gpointer user_data)
|
|||||||
{
|
{
|
||||||
PollTaskData *poll_task_data = user_data;
|
PollTaskData *poll_task_data = user_data;
|
||||||
|
|
||||||
_poll_return (poll_task_data, FALSE, NULL);
|
_poll_return (poll_task_data, FALSE, nm_utils_error_new (NM_UTILS_ERROR_UNKNOWN,
|
||||||
|
"timeout expired"));
|
||||||
return G_SOURCE_CONTINUE;
|
return G_SOURCE_CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user