modify plugin name

This commit is contained in:
2022-06-22 16:29:42 +08:00
parent dd85596907
commit eb7ffecdb9
+4 -1
View File
@@ -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));
} }