Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/Net/Async/Slack.pm
Original file line number Diff line number Diff line change
Expand Up @@ -497,7 +497,7 @@ sub http_get {
my ($err, $src, $resp, $req) = @_;
$src //= '';
if($src eq 'http') {
$log->errorf("HTTP error %s, request was %s with response %s", $err, $req->as_string("\n"), $resp->as_string("\n"));
$log->errorf("HTTP error %s, request endpoint was %s with response %s", $err, $req->uri, $resp->as_string("\n"));
} else {
$log->errorf("Other failure (%s): %s", $src // 'unknown', $err);
}
Expand Down Expand Up @@ -573,7 +573,7 @@ sub http_post {
my ($err, $src, $resp, $req) = @_;
$src //= '';
if($src eq 'http') {
$log->errorf("HTTP error %s, request was %s with response %s", $err, $req->as_string("\n"), $resp->as_string("\n"));
$log->errorf("HTTP error %s, request endpoint was %s with response %s", $err, $req->uri, $resp->as_string("\n"));
} else {
$log->errorf("Other failure (%s): %s", $src // 'unknown', $err);
}
Expand Down