mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-21 23:50:08 +01:00
nmcs: add error message when a HTTP request times out
https://bugzilla.redhat.com/show_bug.cgi?id=1821787
This commit is contained in:
parent
e09bd2339a
commit
3bd30f6064
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue