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