summaryrefslogtreecommitdiff
path: root/crocoite
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2018-03-18 15:38:10 +0100
committerLars-Dominik Braun <lars@6xq.net>2018-03-18 15:38:10 +0100
commitbeabea4623484e7d6a9d18219efd9bf321ecc7fe (patch)
treeaa80c24cc0e79635400405b62066a52dcbaea5cf /crocoite
parent0af88d497664514a0acd542b05620d5dbbe9a38b (diff)
downloadcrocoite-beabea4623484e7d6a9d18219efd9bf321ecc7fe.tar.gz
crocoite-beabea4623484e7d6a9d18219efd9bf321ecc7fe.tar.bz2
crocoite-beabea4623484e7d6a9d18219efd9bf321ecc7fe.zip
browser: Don’t overwrite LogEntry’s args
Diffstat (limited to 'crocoite')
-rw-r--r--crocoite/browser.py2
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):
"""