Browse Source

display error details for unexpected errors

283
Riccardo Spagni 10 years ago
parent
commit
f71dd322dd
  1. 4
      plugins/openalias.py

4
plugins/openalias.py

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