This commit is contained in:
2023-04-18 23:47:30 +08:00
parent 59c4da5a9c
commit 1086534302
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -173,7 +173,7 @@ class AsyncServer implements ServerInterface
\Kiri::getLogger()->alert('Pid ' . getmypid() . ' get signo ' . $no); \Kiri::getLogger()->alert('Pid ' . getmypid() . ' get signo ' . $no);
$this->shutdown(); $this->shutdown();
} catch (\Throwable $exception) { } catch (\Throwable $exception) {
\Kiri::getLogger()->error($exception->getMessage()); error($exception);
} }
} }
+1 -1
View File
@@ -148,7 +148,7 @@ class CoroutineServer implements ServerInterface
\Kiri::getLogger()->alert('Pid ' . getmypid() . ' get signo ' . $no); \Kiri::getLogger()->alert('Pid ' . getmypid() . ' get signo ' . $no);
$this->shutdown(); $this->shutdown();
} catch (\Throwable $exception) { } catch (\Throwable $exception) {
\Kiri::getLogger()->error($exception->getMessage()); error($exception);
} }
} }
+1 -1
View File
@@ -280,7 +280,7 @@ class HotReload extends Command
try { try {
inotify_rm_watch($inotify, $wd); inotify_rm_watch($inotify, $wd);
} catch (\Throwable $exception) { } catch (\Throwable $exception) {
logger()->addError($exception, 'throwable'); error($exception);
} }
} }
$this->watchFiles = []; $this->watchFiles = [];