This commit is contained in:
2025-12-31 00:19:30 +08:00
parent 22f425ceb7
commit 006d385d18
+1 -2
View File
@@ -68,10 +68,9 @@ class CoroutineClient extends ClientAbstracts
}
$this->execute($url, $data);
} catch (\Throwable $exception) {
$this->setStatusCode(-1);
$this->setBody(jTraceEx($exception));
$this->setBody(json_encode(['code' => 500, 'message' => $exception->getMessage()]));
}
}