Fix type mismatch with future logging (#19131)
This commit is contained in:
parent
3aaa12dbe5
commit
f8b71f7075
1 changed files with 1 additions and 1 deletions
|
|
@ -225,7 +225,7 @@ proc complete*[T](future: FutureVar[T], val: T) =
|
|||
fut.finished = true
|
||||
fut.value = val
|
||||
fut.callbacks.call()
|
||||
when isFutureLoggingEnabled: logFutureFinish(future)
|
||||
when isFutureLoggingEnabled: logFutureFinish(fut)
|
||||
|
||||
proc fail*[T](future: Future[T], error: ref Exception) =
|
||||
## Completes `future` with `error`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue