Skip to content

Commit

Permalink
Change method schema
Browse files Browse the repository at this point in the history
Signed-off-by: Johannes Ott <[email protected]>
  • Loading branch information
DerOetzi committed Jan 7, 2024
1 parent 1a6d14f commit 806f1cb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion solaredge2mqtt/influxdb.py
Original file line number Diff line number Diff line change
Expand Up @@ -152,5 +152,7 @@ def flush_loop(self) -> None:
def write_success_callback(self, conf: (str, str, str), data: str) -> None:
logger.debug(f"InfluxDB batch written: {conf} {data}")

def write_error_callback(self, conf: (str, str, str), error: InfluxDBError) -> None:
def write_error_callback(
self, conf: (str, str, str), data: str, error: InfluxDBError
) -> None:
logger.error(f"InfluxDB error while writting: {conf} {error}")

0 comments on commit 806f1cb

Please sign in to comment.