puzzling waitUntil warning
For the life of me, I'm not sure what part of my code is causing this. The result appears to be a handful of openai calls that are immediately failing, so I'm doing something wrong.
I've bundled my async code into a single function which returns via
return Promise.all(promises)
to ctx.waitUntil() in my fetch.
Running it locally (see screenshot) is also indecipherable.
tail logs:
index.ts
sync.ts (truncated)
3 Replies
https://github.com/kriasoft/web-auth-library/blob/42a722e4cedc09ea2a86f92fe5aed73b19e5de94/google/accessToken.ts#L21
looks like you maybe using this lib which is expecting waitUntil passed in
@Walshy | Deploying DUDE!
š
tossed them a PR to help avoid this in the future. Thanks, folks
https://github.com/kriasoft/web-auth-library/pull/29
GitHub
chore(messaging): make
waitUntil
warning clearer by pkarl Ā· Pull ...add function name to missing waitUntil warning to improve findability when warning surfaces in cloudflare/miniflare
Currently, this warning is surfaced like this when running wrangler dev:
...and...