diff --git a/lib/Archive.php b/lib/Archive.php index dc32807..1d345d3 100644 --- a/lib/Archive.php +++ b/lib/Archive.php @@ -63,7 +63,7 @@ class Archive { if ($resp == 200) { return true; } - throw new Exception($resp->body); + throw new Exception($req->body); } static function metadata($identifier) {