You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As described in this issue, errors with the following error whenever trying to use the retry function from that library.
β [ERROR] service core:user:worker: Uncaught Error: Disallowed operation called within global scope. Asynchronous I/O (ex: fetch() or connect()), setting a timeout, and generating random values are not allowed within global scope. To fix this error, perform this operation within a handler. https://developers.cloudflare.com/workers/runtime-apis/handlers/
at null.<anonymous> (core:user:worker:433:28)
at null.<anonymous> (core:user:worker:684:3)
β [ERROR] The Workers runtime failed to start. There is likely additional logging output above.
AFAIK the library does no unallowed operations, so this seems like a failure in detecting those.
Repro code:
// repro.jsimport{retry}from'cockatiel'retry()
Run with npx wrangler dev repro.js
The text was updated successfully, but these errors were encountered:
As described in this issue, errors with the following error whenever trying to use the
retry
function from that library.AFAIK the library does no unallowed operations, so this seems like a failure in detecting those.
Repro code:
Run with
npx wrangler dev repro.js
The text was updated successfully, but these errors were encountered: