027eeab [backend] LogHandler: don't drop exc_info from LogRecord

2 files Authored by praiskup 5 years ago, Committed by msuchy 5 years ago,
    [backend] LogHandler: don't drop exc_info from LogRecord
    
    Python's internals depend on that even before the message is
    emitted, exception like this is raised:
    
        Traceback (most recent call last):
          File "/usr/lib64/python3.7/logging/__init__.py", line 1034, in emit
            msg = self.format(record)
          File "/usr/lib64/python3.7/logging/__init__.py", line 880, in format
            return fmt.format(record)
          File "/usr/lib64/python3.7/logging/__init__.py", line 623, in format
            if record.exc_info:
        AttributeError: 'LogRecord' object has no attribute 'exc_info'
    
    Update test_helpers.py so we have also a small test for the
    delivered message format.
    
        
file modified
+1 -1
file modified
+18 -2