Yuriy Zhilovets 5 年之前
父节点
当前提交
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);