diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2018-03-18 15:38:10 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2018-03-18 15:38:10 +0100 |
commit | beabea4623484e7d6a9d18219efd9bf321ecc7fe (patch) | |
tree | aa80c24cc0e79635400405b62066a52dcbaea5cf | |
parent | 0af88d497664514a0acd542b05620d5dbbe9a38b (diff) | |
download | crocoite-beabea4623484e7d6a9d18219efd9bf321ecc7fe.tar.gz crocoite-beabea4623484e7d6a9d18219efd9bf321ecc7fe.tar.bz2 crocoite-beabea4623484e7d6a9d18219efd9bf321ecc7fe.zip |
browser: Don’t overwrite LogEntry’s args
-rw-r--r-- | crocoite/browser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crocoite/browser.py b/crocoite/browser.py index 23b251f..baa0d83 100644 --- a/crocoite/browser.py +++ b/crocoite/browser.py @@ -234,7 +234,7 @@ class SiteLoader: level = {'verbose': logging.DEBUG, 'info': logging.INFO, 'warning': logging.WARNING, 'error': logging.ERROR}[entry['level']] - self.logger.log (level, 'console: {}: {}'.format (entry['source'], entry['text']), extra=entry) + self.logger.log (level, 'console: {}: {}'.format (entry['source'], entry['text']), extra={'raw': entry}) class AccountingSiteLoader (SiteLoader): """ |