aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pyfunkwhale/client.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/pyfunkwhale/client.py b/pyfunkwhale/client.py
index 06dda16..81611ba 100644
--- a/pyfunkwhale/client.py
+++ b/pyfunkwhale/client.py
@@ -72,4 +72,6 @@ class Client(object):
r = call(self.domain + '/api/v1/' + endpoint, headers=headers,
params=params, data=data)
+ r.raise_for_status()
+
return r