modify plugin name
This commit is contained in:
+4
-1
@@ -69,7 +69,10 @@ class CoroutineClient extends ClientAbstracts
|
|||||||
$this->execute($url, $data);
|
$this->execute($url, $data);
|
||||||
|
|
||||||
} catch (\Throwable $exception) {
|
} catch (\Throwable $exception) {
|
||||||
Kiri::getDi()->get(Logger::class)->error('rpc', [error_trigger_format($exception)]);
|
Kiri::getDi()->get(Logger::class)->error('rpc', []);
|
||||||
|
|
||||||
|
Kiri::getLogger()->error(throwable($exception));
|
||||||
|
|
||||||
$this->setStatusCode(-1);
|
$this->setStatusCode(-1);
|
||||||
$this->setBody(jTraceEx($exception));
|
$this->setBody(jTraceEx($exception));
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user