diff --git a/chronos.nimble b/chronos.nimble index 9526d72..162ecbc 100644 --- a/chronos.nimble +++ b/chronos.nimble @@ -1,5 +1,5 @@ packageName = "chronos" -version = "2.3.6" +version = "2.3.7" author = "Status Research & Development GmbH" description = "Chronos" license = "Apache License 2.0 or MIT" diff --git a/chronos/asyncmacro2.nim b/chronos/asyncmacro2.nim index f99cb3c..02703ea 100644 --- a/chronos/asyncmacro2.nim +++ b/chronos/asyncmacro2.nim @@ -52,7 +52,7 @@ template createCb(retFutureSym, iteratorNameSym, {.pop.} except CancelledError: retFutureSym.cancel() - except Exception as exc: + except CatchableError as exc: futureVarCompletions if retFutureSym.finished():