|
|
@@ -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);
|