From 1aee4f154f9ee4cb189ad2e03a5b078718da95a2 Mon Sep 17 00:00:00 2001 From: Andreas Wrede Date: Mon, 3 May 2021 17:17:49 -0400 Subject: [PATCH] catch exception --- hbc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hbc b/hbc index 89fc2f0..7396baf 100755 --- a/hbc +++ b/hbc @@ -588,7 +588,7 @@ signal.signal(signal.SIGTERM, handler) running = True try: process() -except: +except Exception as e: syslogtrace('process') if verbose: print("err: process exit: %s" % e)