Skip to content

Commit

Permalink
Merge 03091f1 into f529b93
Browse files Browse the repository at this point in the history
  • Loading branch information
icgood committed Feb 22, 2020
2 parents f529b93 + 03091f1 commit 2c04ace
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -23,7 +23,7 @@


setup(name='python-slimta',
version='4.0.10',
version='4.0.11',
author='Ian Good',
author_email='icgood@gmail.com',
description='Lightweight, asynchronous SMTP libraries.',
Expand Down
3 changes: 2 additions & 1 deletion slimta/logging/__init__.py
Expand Up @@ -116,7 +116,7 @@ def log_exception(name, **kwargs):
data = kwargs.copy()
data['message'] = str(value)
data['args'] = value.args
tb_str = traceback.format_exception(type, value, tb)
tb_str = ''.join(traceback.format_exception(type, value, tb))
data_str = ' '.join(['='.join((key, log_repr.repr(val)))
for key, val in sorted(data.items())])
logger.error('exception:{0}:unhandled {1} traceback={2}'.format(
Expand All @@ -125,6 +125,7 @@ def log_exception(name, **kwargs):

log_repr = reprlib.Repr()
log_repr.maxstring = 100
log_repr.maxother = 100


def logline(log, type, typeid, operation, **data):
Expand Down

0 comments on commit 2c04ace

Please sign in to comment.