Reraise cancelled error

This commit is contained in:
Arnaud 2025-10-03 07:50:27 +02:00
parent 070a9a150a
commit 5ef45d30f1
No known key found for this signature in database
GPG Key ID: B8FBC178F10CA7AE

View File

@ -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