Yuriy Zhilovets il y a 5 ans
Parent
commit
923153eeb1
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      telegram.pl

+ 1 - 1
telegram.pl

@@ -243,7 +243,7 @@ sub request
     {
        my $err = {};
        $err->{code} = $resp->code;
-       $err->{url} = $resp->req->url->to_string;
+       $err->{url} = $tx->req->url->to_string;
        $err->{body} = $resp->body;
        $err->{body} = j($err->{body}) if $resp->headers->content_type eq "application/json";
        $deferred->reject($err);