Fix tedit validation errors (bug 1019729)

https://bugzilla.mozilla.org/show_bug.cgi?id=1019729
no bare excepts or you'll catch `KeyboardInterrupt`s