Yuriy Zhilovets 5 лет назад
Родитель
Сommit
923153eeb1
1 измененных файлов с 1 добавлено и 1 удалено
  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);