Browse Source

display error details for unexpected errors

283
Riccardo Spagni 10 years ago
parent
commit
d14a4737b6
No known key found for this signature in database GPG Key ID: 55432DF31CCD4FCD
  1. 4
      plugins/openalias.py

4
plugins/openalias.py

@ -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…
Cancel
Save