summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJens Georg <mail@jensge.org>2022-01-16 14:11:58 +0100
committerJens Georg <mail@jensge.org>2022-01-20 14:36:07 +0100
commitc17fb21a137ddc44f032d42289e6e8d231371eae (patch)
treea57ebf8508aeae36677861bd5be914b31d08d8e9
parent79317268351c9a7b23263edd6c0a5348d6db23d1 (diff)
downloadgupnp-c17fb21a137ddc44f032d42289e6e8d231371eae.tar.gz
ProxyAction: Propagate error from soup call
-rw-r--r--libgupnp/gupnp-service-proxy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libgupnp/gupnp-service-proxy.c b/libgupnp/gupnp-service-proxy.c
index a15324e..cee572d 100644
--- a/libgupnp/gupnp-service-proxy.c
+++ b/libgupnp/gupnp-service-proxy.c
@@ -431,6 +431,7 @@ action_task_got_response (GObject *source,
if (error != NULL) {
+ action->error = g_error_copy (error);
g_task_return_error (task, error);
g_object_unref (task);