summaryrefslogtreecommitdiff
path: root/lib/Matrix/Client
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Matrix/Client')
-rw-r--r--lib/Matrix/Client/Requester.pm62
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Matrix/Client/Requester.pm6 b/lib/Matrix/Client/Requester.pm6
index 4bf6b14..68c0323 100644
--- a/lib/Matrix/Client/Requester.pm6
+++ b/lib/Matrix/Client/Requester.pm6
@@ -14,7 +14,7 @@ has $!client-endpoint = "/_matrix/client/r0";
has $!url-prefix = "";
has $!sync-since = "";
-method !handle-error($response) {
+method !handle-error($response) is hidden-from-backtrace {
unless $response.is-success {
my $data = from-json($response.content);
X::Matrix::Response.new(:code($data<errcode>), :error($data<error>)).throw;