Errors within async are not being raised

2023-12-08 Thread Nlits
Fixed: Resorted to manual editing If anyone has any ideas on how to get the macro to work, I would still appreciate it

Errors within async are not being raised

2023-12-04 Thread Nlits
Might be related to

Errors within async are not being raised

2023-12-03 Thread Nlits
Thanks for your reply! I had something similar set before with a wrapper proc, but decided to change it because changing all the arguments twice was tedious. I am going to retry that method but with a template or macro to make it easier.

Errors within async are not being raised

2023-12-02 Thread z_____________
The program quits after "u 25" because the code generated by cligen.dispatch discards the Future returned by main. Try making main non-async by replacing `await client.getFile` with `waitFor client.getFile` and removing the `async` pragma, or making a new proc calls `waitFor` on main and dispat

Errors within async are not being raised

2023-12-02 Thread Nlits
It seems some exceptions are being raised within an awaited async function, but the program stops without a raised error. It also might have to do with cligen dispatching an async proc, although I have no idea how I would efficiently change this. Reproducible Example: import std/[