改名
This commit is contained in:
@@ -12,6 +12,7 @@ namespace Snowflake\Process;
|
||||
|
||||
use Exception;
|
||||
use Snowflake\Abstracts\Config;
|
||||
use Snowflake\Exception\ComponentException;
|
||||
use Snowflake\Snowflake;
|
||||
use Swoole\Coroutine;
|
||||
use Swoole\Event;
|
||||
@@ -232,9 +233,13 @@ class ServerInotify extends Process
|
||||
* @param $message
|
||||
* @param $file
|
||||
* @param $line
|
||||
* @throws ComponentException
|
||||
*/
|
||||
protected function onErrorHandler($code, $message, $file, $line)
|
||||
{
|
||||
if (str_contains($message, 'The file descriptor is not an inotify instance')) {
|
||||
return;
|
||||
}
|
||||
$this->application->debug('Error:' . $message);
|
||||
$this->application->debug($file . ':' . $line);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user