diff --git a/apps/iot/src/influxdb/influx_client_pool.erl b/apps/iot/src/influxdb/influx_client_pool.erl index c8a08d1..36b1beb 100644 --- a/apps/iot/src/influxdb/influx_client_pool.erl +++ b/apps/iot/src/influxdb/influx_client_pool.erl @@ -91,7 +91,8 @@ init([]) -> {ok, PoolPid} = poolboy:start_link([{size, PoolSize}, {max_overflow, PoolSize}, {worker_module, influx_client}], WorkerArgs), %% 创建特殊的buckets SuperDeviceUUIDs = iot_env:get_value(super_device_uuids, []), - catch create_buckets(PoolPid, SuperDeviceUUIDs), + Result = catch create_buckets(PoolPid, SuperDeviceUUIDs), + lager:debug("[influx_client_pool] create buckets result is: ~p", [Result]), {ok, #state{pool_pid = PoolPid}}.