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