mefyl
mefyl
To elaborate, I do not think the upgrade of LWT caused this, because reverting to 5.8.x does not fix the issue. I *think* this is due to an upgrade of...
After more investigation, I can confirm that the exception is raised only once, is properly caught by the LWT engine and transmitted to the promise, where it's handled with `Lwt.catch`...
@raphael-proust do you know if this invalidates our backtraces? Just trying to figure out if my initial diagnostic is correct, or if this could be something entirely unrelated to lwt.
Thank you so much for the investigation! So if you're correct, it means that my initial assumption that exceptions should not escape the event loop is wrong, and that the...
I indeed don't think it's not unreasonable that the function is invoked every time. Still, if it can be avoided that seems like a plus to me. Regarding my question...
Got it, then that's definitely not an angle. I'll wait for `caqti.template` to reach maturity then to reassess, thanks.
That is very fine to me, we don't need a hard guarantee that it will *never* run a second time. Thank you !