1
0
Fork 0
mirror of synced 2024-09-28 23:41:23 +12:00

Update error message

This commit is contained in:
Khushboo Verma 2024-08-08 13:49:33 +05:30
parent 41de522d04
commit 066dc59064

View file

@ -562,7 +562,7 @@ class Response extends SwooleResponse
try { try {
$this->json(!empty($output) ? $output : new \stdClass()); $this->json(!empty($output) ? $output : new \stdClass());
} catch (JsonException $e) { } 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; break;