追踪错误
This commit is contained in:
parent
5500e8386e
commit
9b59106f4d
@ -140,6 +140,7 @@ class Transmitter:
|
|||||||
self.__send(self.db_name, tb, [json.dumps(item) for item in data])
|
self.__send(self.db_name, tb, [json.dumps(item) for item in data])
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
self.log.error(traceback.format_exc())
|
self.log.error(traceback.format_exc())
|
||||||
|
self.log.error(data)
|
||||||
buffer.clear()
|
buffer.clear()
|
||||||
try:
|
try:
|
||||||
kafka_client.commit()
|
kafka_client.commit()
|
||||||
|
Loading…
Reference in New Issue
Block a user