diff options
author | Matias Linares <matiaslina@openmailbox.org> | 2018-01-28 18:12:24 -0300 |
---|---|---|
committer | Matias Linares <matiaslina@openmailbox.org> | 2018-01-28 18:12:24 -0300 |
commit | e4eba6be757fee76c3985419c0b7fd8ae16b5269 (patch) | |
tree | e191a16b97b0914c98c73544c01adc9652cc93db /lib/Matrix/Client.pm6 | |
parent | 6af45e001a3dffe83178eacb85c18cf62c6485ce (diff) | |
download | perl6-matrix-client-e4eba6be757fee76c3985419c0b7fd8ae16b5269.tar.gz |
Better format on error message.
Diffstat (limited to 'lib/Matrix/Client.pm6')
-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 } } |