mirror of
https://github.com/Kunsi/scheduled-plugin-pretalx-broadcast-tools.git
synced 2024-11-23 18:41: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
7
service
7
service
|
@ -202,6 +202,9 @@ def main():
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
try:
|
try:
|
||||||
main()
|
main()
|
||||||
except:
|
except Exception:
|
||||||
traceback.print_exc()
|
traceback.print_exc()
|
||||||
time.sleep(30)
|
try:
|
||||||
|
idle(30, None, None, None)
|
||||||
|
except Exception:
|
||||||
|
time.sleep(30)
|
||||||
|
|
Loading…
Reference in a new issue