Fix warning from Nim compiler about bare except clause.
This commit is contained in:
1 parent
d1afcfb648
commit
d59a91401c
1 file changed
+1
-1
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user