We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b24acd1 commit 24034a0Copy full SHA for 24034a0
3 files changed
logtail/__init__.py
@@ -5,6 +5,6 @@
5
from .helpers import LogtailContext, DEFAULT_CONTEXT
6
from .formatter import LogtailFormatter
7
8
-__version__ = '0.2.6'
+__version__ = '0.2.7'
9
10
context = DEFAULT_CONTEXT
logtail/flusher.py
@@ -67,7 +67,7 @@ def step(self):
67
if response.status_code == 500 and getattr(response, "exception") != None:
68
print('Failed to send logs to Better Stack after {} retries: {}'.format(len(RETRY_SCHEDULE), response.exception))
69
70
- if shutdown:
+ if shutdown and self.pipe.empty():
71
sys.exit(0)
72
73
setup.py
@@ -3,7 +3,7 @@
3
from setuptools import setup
4
-VERSION = '0.2.6'
+VERSION = '0.2.7'
ROOT_DIR = os.path.dirname(__file__)
REQUIREMENTS = [
0 commit comments