Fix warning from Nim compiler about bare except clause.
This commit is contained in:
parent
d1afcfb648
commit
d59a91401c
@ -221,7 +221,7 @@ when isMainModule:
|
||||
|
||||
for ctx in cfg.contexts: trello.syncContext(state, ctx)
|
||||
|
||||
except:
|
||||
except CatchableError:
|
||||
let ex = getCurrentException()
|
||||
fatal ex.msg
|
||||
debug ex.getStackTrace
|
||||
|
Loading…
Reference in New Issue
Block a user