Update error message
This commit is contained in:
parent
41de522d04
commit
066dc59064
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue