cloudflare / cloudflare/workerd

Improve "Disallowed operation called within global scope" error

Open
#2,490 5 comments 10 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
8.7k
Forks
739
Avg merge
2d 20h
Merged PRs (30d)
174

Description

Two key improvements:

* Include which module is trying to perform the global scope operation. This can be caused by modules in the dependency chain, try to identify which
* Include the specific type of operation being tried to give users more context
* Include a link to relevant documentation

//cc @dario-piotrowicz @mikenomitch @irvinebroque

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.