Unexpected frame by generating stack. This only when viewing it on Codesandbox. When I deploy to now.sh you get the actual graphql error I'd expect which is specific to my backend.I am trying to handle a known error but this one is being generated instead, but only on codesandbox. When I deploy it to my hosting provider I get my expected graphql error.
| Software | Name/Version|
| ---------------- | ---------- |
| 小odesandbox | PROD-1552372285-96510b09
| Browser | Firefox 66.0.1 (64-bit) on MacOS (or Chrome on iOS)
| Operating System | MacOS (or iOS)
Just adding to this thread that I was able to recreate this case with simply an intentionally failing Jest test. Firefox only (works in Chrome), which seems to imply an issue with the error polyfill.
Software | Name / Version
---|---
Codesandbox | PROD-1556551783-3c533b67a
Browser | Firefox 66.0.3 (64 bit)
Operating System | MacOS
Unexpected frame by generating stack.
captureFrameStrings@https://codesandbox.io/static/js/common-sandbox.3dc7ca12.chunk.js:1:261314
e@https://codesandbox.io/static/js/common-sandbox.3dc7ca12.chunk.js:1:263064
[note: truncated for sanity, but this is the error thrown instead of a normal jest error]
Most helpful comment
Just adding to this thread that I was able to recreate this case with simply an intentionally failing Jest test. Firefox only (works in Chrome), which seems to imply an issue with the error polyfill.
Software | Name / Version
---|---
Codesandbox |
PROD-1556551783-3c533b67aBrowser | Firefox 66.0.3 (64 bit)
Operating System | MacOS