From 56fbdff096c3fa349001468b8a9311bbe1cac0f4 Mon Sep 17 00:00:00 2001 From: cheatfate Date: Tue, 3 Mar 2020 13:42:43 +0200 Subject: [PATCH] Async transformed procedures will not catch Exception anymore. Bump version to 2.3.7. --- chronos.nimble | 2 +- chronos/asyncmacro2.nim | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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():