display error details for unexpected errors
This commit is contained in:
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user