display error details for unexpected errors
This commit is contained in:
parent
1319f58276
commit
d14a4737b6
|
@ -196,8 +196,8 @@ class Plugin(BasePlugin):
|
||||||
except DNSException:
|
except DNSException:
|
||||||
err = _('Unhandled exception.')
|
err = _('Unhandled exception.')
|
||||||
continue
|
continue
|
||||||
except:
|
except Exception,e:
|
||||||
err = _('Unknown error.')
|
err = _('Unexpected error: ' + str(e))
|
||||||
continue
|
continue
|
||||||
break
|
break
|
||||||
if err:
|
if err:
|
||||||
|
|
Loading…
Reference in New Issue