diff --git a/hbc b/hbc index ef4b1fb..ea49f21 100755 --- a/hbc +++ b/hbc @@ -244,8 +244,8 @@ def doupdate(conn, msgDict): try: code = codecs.decode(msgDict['code'],'base64').decode() csum = msgDict['csum'] - except: - fail = "csum/code missing" + except Exception as e: + fail = f"csum/code missing: {e}" if not fail: fail = doupdateone(code, csum)