Skip to content

Commit

Permalink
fix: updated influxdb_client.py writing
Browse files Browse the repository at this point in the history
  • Loading branch information
MountainGod2 committed Aug 9, 2024
1 parent 584e622 commit a7ef3b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/chaturbate_poller/influxdb_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def write_event(self, measurement: str, data: dict[str, Any]) -> None:
for key, value in flattened_data.items():
point = point.field(key, value)
self.write_api.write(bucket=self.bucket, org=self.org, record=point)
self.logger.info("Event data written to InfluxDB: %s", flattened_data)
self.logger.info("Event data written to InfluxDB: %s", str(flattened_data))
except ApiException:
self.logger.exception("Failed to write data to InfluxDB")

Expand Down

0 comments on commit a7ef3b0

Please sign in to comment.