This commit is contained in:
2020-09-16 20:23:23 +08:00
parent 63dc3031a8
commit 34d4cbad8b
4 changed files with 31 additions and 8 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ class OnWorkerStart extends Callback
}
$event->trigger(Event::SERVER_WORKER_START, [$worker_id]);
} catch (\Throwable $exception) {
Snowflake::app()->getLogger()->write($exception->getMessage(), 'worker');
write($exception->getMessage(), 'worker');
}
}