Skip to content
Snippets Groups Projects
Commit 6cc8cd28 authored by js's avatar js
Browse files

[Florob] Make exception handling not cause an exception. Fixes #4125.

parent 06536802
No related branches found
No related tags found
No related merge requests found
......@@ -564,7 +564,7 @@ class HtmlHandler(xml.sax.handler.ContentHandler):
try:
f = urllib2.urlopen(attrs['src'])
except Exception, ex:
gajim.log.debug(str('Error loading image %s ' % attrs['src'] + ex))
gajim.log.debug('Error loading image %s ' % attrs['src'] + str(ex)))
pixbuf = None
alt = attrs.get('alt', 'Broken image')
else:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment