diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Matrix/Client/Requester.pm6 | 2 |
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; |