Fix warning from Nim compiler about bare except clause.

This commit is contained in:
Jonathan Bernard 2023-05-13 07:46:06 -05:00
parent d1afcfb648
commit d59a91401c

View File

@ -221,7 +221,7 @@ when isMainModule:
for ctx in cfg.contexts: trello.syncContext(state, ctx) for ctx in cfg.contexts: trello.syncContext(state, ctx)
except: except CatchableError:
let ex = getCurrentException() let ex = getCurrentException()
fatal ex.msg fatal ex.msg
debug ex.getStackTrace debug ex.getStackTrace