workerd icon indicating copy to clipboard operation
workerd copied to clipboard

Improve "Disallowed operation called within global scope" error

Open jasnell opened this issue 1 year ago • 5 comments

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

jasnell avatar Aug 07 '24 16:08 jasnell