distgit: Catch all errors

With this, we should never fail silently any more.
This commit is contained in:
Mathieu Bridon 2015-06-05 15:28:51 +02:00
parent 635611cfb7
commit c474289e3b

View file

@ -237,4 +237,8 @@ def main():
print "Error with fedmsg", str(e)
if __name__ == '__main__':
main()
try:
main()
except Exception as e:
send_error(str(e))