mirror of
https://github.com/logos-storage/logos-storage-nim.git
synced 2026-01-03 05:53:07 +00:00
Reraise cancelled error
This commit is contained in:
parent
070a9a150a
commit
5ef45d30f1
@ -41,6 +41,8 @@ method waitUntil*(
|
||||
let future = newFuture[void]()
|
||||
clock.waiting.add(Waiting(until: time, future: future))
|
||||
await future
|
||||
except CancelledError as e:
|
||||
raise e
|
||||
except Exception as e:
|
||||
discard
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user