mirror of
https://github.com/Kunsi/scheduled-plugin-pretalx-broadcast-tools.git
synced 2024-11-23 10:31:03 +00:00
try to use idle() even when exceptions occured
This commit is contained in:
parent
dad7cbfcfe
commit
927adfa0da
1 changed files with 5 additions and 2 deletions
5
service
5
service
|
@ -202,6 +202,9 @@ def main():
|
|||
if __name__ == "__main__":
|
||||
try:
|
||||
main()
|
||||
except:
|
||||
except Exception:
|
||||
traceback.print_exc()
|
||||
try:
|
||||
idle(30, None, None, None)
|
||||
except Exception:
|
||||
time.sleep(30)
|
||||
|
|
Loading…
Reference in a new issue