distgit: Catch all errors
With this, we should never fail silently any more.
This commit is contained in:
parent
635611cfb7
commit
c474289e3b
1 changed files with 5 additions and 1 deletions
|
@ -237,4 +237,8 @@ def main():
|
||||||
print "Error with fedmsg", str(e)
|
print "Error with fedmsg", str(e)
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
try:
|
||||||
main()
|
main()
|
||||||
|
|
||||||
|
except Exception as e:
|
||||||
|
send_error(str(e))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue