This commit is contained in:
parent
8881fa5494
commit
ed06f2676e
|
@ -138,7 +138,7 @@ class SpiderMt extends Command
|
||||||
Redis::hIncrBy('CRM:Pool:' . $status, $username, 1);
|
Redis::hIncrBy('CRM:Pool:' . $status, $username, 1);
|
||||||
} catch (\Exception $e) {
|
} catch (\Exception $e) {
|
||||||
Log::error(dirname(__FILE__) . __LINE__ . '没有可以分配的用户', (array)json_encode($e));
|
Log::error(dirname(__FILE__) . __LINE__ . '没有可以分配的用户', (array)json_encode($e));
|
||||||
throw new \Exception('没有可以分配的用户');
|
throw new \Exception('没有可以分配的用户' . $status);
|
||||||
}
|
}
|
||||||
return $username;
|
return $username;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue