'Apollo Sandbox Explorer not reachable when throwing an error inside "context"

Good day!

Why does throwing an error inside "context" destroy my Apollo Sandbox?

const server = new ApolloServer({
   ...
   context: ({req}) => {
      throw new AuthenticationError('you must be logged in!');
   }
   ...
});

enter image description here

As a result, my queries and mutations are not being shown in the explorer.

enter image description here

Are there other configurations that I need to setup so that I can throw an error in "context"?

Thanks in advance.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source