Skip to content

Commit

Permalink
Remove debugging prints
Browse files Browse the repository at this point in the history
  • Loading branch information
Kirade committed Dec 28, 2022
1 parent 211bfc4 commit a3757b8
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/firehose_handler/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,12 @@ def __init__(self, profile_name, region_name, delivery_stream_name):
self.firehose = session.client(service_name='firehose')
self.delivery_stream_name = delivery_stream_name
self.record = None
print('init')

def emit(self, record):
try:
msg = self.format(record)
print(f'1: {self.record}')
self.record = msg.encode(encoding='UTF-8')
self.flush()
print(f'2: {self.record}')
except Exception:
self.handleError(record)

Expand Down

0 comments on commit a3757b8

Please sign in to comment.