catch exception
This commit is contained in:
@@ -588,7 +588,7 @@ signal.signal(signal.SIGTERM, handler)
|
|||||||
running = True
|
running = True
|
||||||
try:
|
try:
|
||||||
process()
|
process()
|
||||||
except:
|
except Exception as e:
|
||||||
syslogtrace('process')
|
syslogtrace('process')
|
||||||
if verbose: print("err: process exit: %s" % e)
|
if verbose: print("err: process exit: %s" % e)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user