added small comment
This commit is contained in:
parent
1db29f56d2
commit
2ebd02f7d2
1 changed files with 2 additions and 0 deletions
2
uplink
2
uplink
|
|
@ -114,6 +114,8 @@ def get_data(config, inc):
|
||||||
config["database"])
|
config["database"])
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
logger.error("ERROR: Database connection failed!" + str(err))
|
logger.error("ERROR: Database connection failed!" + str(err))
|
||||||
|
# see https://stackoverflow.com/questions/1489669/how-to-exit-the-entire-application-from-a-python-thread
|
||||||
|
# maybe the following is better. need to evaluate:
|
||||||
#thread.interrupt_main()
|
#thread.interrupt_main()
|
||||||
os._exit(1)
|
os._exit(1)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue