Skip to content

Commit

Permalink
Update flow/record/adapter/elastic.py
Browse files Browse the repository at this point in the history
Co-authored-by: Erik Schamper <[email protected]>
  • Loading branch information
JSCU-CNI and Schamper authored Nov 27, 2024
1 parent e852c5e commit 6c77f71
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flow/record/adapter/elastic.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ def __init__(

def excepthook(self, exc: threading.ExceptHookArgs, *args, **kwargs) -> None:
log.error("Exception in thread: %s", str(exc))
self.exception = exc.exc_value if hasattr(exc, "exc_value") else exc
self.exception = getattr(exc, "exc_value", exc)

Check warning on line 87 in flow/record/adapter/elastic.py

View check run for this annotation

Codecov / codecov/patch

flow/record/adapter/elastic.py#L86-L87

Added lines #L86 - L87 were not covered by tests
self.event.set()
self.close()

Expand Down

0 comments on commit 6c77f71

Please sign in to comment.