变更
This commit is contained in:
@@ -173,7 +173,7 @@ class AsyncServer implements ServerInterface
|
||||
\Kiri::getLogger()->alert('Pid ' . getmypid() . ' get signo ' . $no);
|
||||
$this->shutdown();
|
||||
} catch (\Throwable $exception) {
|
||||
\Kiri::getLogger()->error($exception->getMessage());
|
||||
error($exception);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -148,7 +148,7 @@ class CoroutineServer implements ServerInterface
|
||||
\Kiri::getLogger()->alert('Pid ' . getmypid() . ' get signo ' . $no);
|
||||
$this->shutdown();
|
||||
} catch (\Throwable $exception) {
|
||||
\Kiri::getLogger()->error($exception->getMessage());
|
||||
error($exception);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -280,7 +280,7 @@ class HotReload extends Command
|
||||
try {
|
||||
inotify_rm_watch($inotify, $wd);
|
||||
} catch (\Throwable $exception) {
|
||||
logger()->addError($exception, 'throwable');
|
||||
error($exception);
|
||||
}
|
||||
}
|
||||
$this->watchFiles = [];
|
||||
|
||||
Reference in New Issue
Block a user