From 0c3bf1ebbfd84b1f6141bcb78d77034589cf6bd0 Mon Sep 17 00:00:00 2001 From: Pinga <121483313+getpinga@users.noreply.github.com> Date: Wed, 11 Sep 2024 18:28:43 +0300 Subject: [PATCH] Attempt to fix an error --- epp.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/epp.php b/epp.php index a9b0b11..3bf70e3 100644 --- a/epp.php +++ b/epp.php @@ -388,9 +388,7 @@ public function getDomainDetails(Registrar_Domain $domain) } catch(exception $e) { - $domain = array( - 'error' => $e->getMessage() - ); + throw new Registrar_Exception('Error: ' . $e->getMessage()); } if (!empty($s)) {