Skip to content

Commit

Permalink
handle unexpected error again
Browse files Browse the repository at this point in the history
  • Loading branch information
fighterii committed Jan 7, 2025
1 parent 96bf816 commit 8bb0f46
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions loki_logger_handler/loki_logger_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ def _flush(self):
if not self.buffer.empty():
try:
self._send()
except Exception:
pass # Silently ignore any exceptions
except Exception as e:
self.handle_unexpected_error(e)

def _send(self):
"""
Expand Down

0 comments on commit 8bb0f46

Please sign in to comment.