变更
This commit is contained in:
@@ -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
@@ -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
@@ -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 = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user