diff options
Diffstat (limited to 'coverage/html.py')
-rw-r--r-- | coverage/html.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/coverage/html.py b/coverage/html.py index ae1d041f..ede34a96 100644 --- a/coverage/html.py +++ b/coverage/html.py @@ -441,7 +441,11 @@ class IncrementalChecker: """Check the global data that can affect incremental reporting.""" m = Hasher() for d in data: - m.update(d) + try: + m.update(d) + except: + print("Couldn't hash this: {d!r}".format(d=d)) + raise these_globals = m.hexdigest() if self.globals != these_globals: self.reset() |