Skip to content

Commit e686faf

Browse files
committed
Minor Code change
Signed-off-by: Victor Otieno Omondi <vickz84259@gmail.com>
1 parent fbefb6e commit e686faf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XKCD/web.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ def get_image_url(webpage):
2626
try:
2727
return webpage['img']
2828
except Exception:
29-
log.error('{0}:{1}'.format(webpage, 'image not found'))
29+
log.exception('{0}:{1}'.format(webpage, 'image not found'))
3030

3131
return None
3232

0 commit comments

Comments
 (0)