Skip to content

Commit b90fa6b

Browse files
committed
Log exception occurred within InternetSource context
1 parent fea3c88 commit b90fa6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ def __enter__(self):
120120

121121
def __exit__(self, exc_type, exc_val, exc_tb):
122122
self.flush()
123+
logging.error('An unhandled error occurred in scraper:', exc_info=True)
123124

124125
def __init__(self, description='', columns=None, parameters=None):
125126
if columns is None:

0 commit comments

Comments
 (0)