From 066dc5906461b2bbe9f08ae8d1895ff83f7fb7b4 Mon Sep 17 00:00:00 2001 From: Khushboo Verma <43381712+vermakhushboo@users.noreply.github.com> Date: Thu, 8 Aug 2024 13:49:33 +0530 Subject: [PATCH] Update error message --- src/Appwrite/Utopia/Response.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Appwrite/Utopia/Response.php b/src/Appwrite/Utopia/Response.php index f0dace191e..6d8c671d89 100644 --- a/src/Appwrite/Utopia/Response.php +++ b/src/Appwrite/Utopia/Response.php @@ -562,7 +562,7 @@ class Response extends SwooleResponse try { $this->json(!empty($output) ? $output : new \stdClass()); } catch (JsonException $e) { - throw new Exception('Failed to parse binary response: ' . $e->getMessage(), 400); + throw new Exception('Failed to parse response: ' . $e->getMessage(), 400); } break;