display error details for unexpected errors
This commit is contained in:
parent
038c57994f
commit
f71dd322dd
|
@ -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