public final function onWorkerError(\swoole_server $serv, $worker_id, $worker_pid, $exit_code)
{
//using the swoole error log output the error this will output to the swtmp log
var_dump("workererror", array($this->taskInfo, $serv, $worker_id, $worker_pid, $exit_code));
}