diff options
-rw-r--r-- | lib/Matrix/Client.pm6 | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Matrix/Client.pm6 b/lib/Matrix/Client.pm6 index 47610a1..7dfcd27 100644 --- a/lib/Matrix/Client.pm6 +++ b/lib/Matrix/Client.pm6 @@ -83,8 +83,7 @@ method check-res($res) { if $res.is-success { True } else { - warn $res.status-line; - warn $res.content; + warn "Error with response: {$res.status-line}: {$res.content}"; False } } |