From 3a2fcc69a8eb4237b2862b3e291971d38748f115 Mon Sep 17 00:00:00 2001 From: Lars-Dominik Braun Date: Mon, 7 Jan 2019 10:41:45 +0100 Subject: Log Chrome’s responses to WARC by default MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit We may not be able to reproduce every failure, so logging as much as possible is important to figure out what went wrong. Also, in case a bug is uncovered in the future, we can check the logs and possibly fix it with -errata. --- crocoite/warc.py | 5 ----- 1 file changed, 5 deletions(-) (limited to 'crocoite/warc.py') diff --git a/crocoite/warc.py b/crocoite/warc.py index cb1f2f7..4106995 100644 --- a/crocoite/warc.py +++ b/crocoite/warc.py @@ -242,13 +242,8 @@ class WarcHandler (EventHandler): } def push (self, item): - processed = False for k, v in self.route.items (): if isinstance (item, k): v (self, item) - processed = True break - if not processed: - self.logger.debug (f'unknown event {item!r}') - -- cgit v1.2.3