diff --git a/web-lib-funcs.pl b/web-lib-funcs.pl index 3fc6b7662..956ff60c1 100755 --- a/web-lib-funcs.pl +++ b/web-lib-funcs.pl @@ -13079,7 +13079,7 @@ if (ref($h)) { $rs{'response'} = $h->{'buffer'}; } else { - $rs{'error'} = $h + return { 'error' => $h }; } if (ref($h)) { if ($h->{'buffer'} =~ /has\s+moved\s+