Commit Detail
Commit f5db56a
Python: Add back in reportError (#4050) This is a partial revert of #4001. Without this help, edgeworker tests show: ``` 2.267743795s 1m10 2025.4.1200-4-gdecc02ecd-dev error workerd/io/worker.c++:287 script startup threw exception; id = 79b9b0009762ad21278ebf245600582fefcdd203d9aeb3efaa2105eb948f6b2f; description = jsg.TypeError: Cannot read properties of undefined (reading 'snapshotSize'); trace = at pyodide-internal:snapshot:140:43; ownerId = 1212; zoneId = test-zone; scriptId = m.python; cordon = paid; process = shared ``` AKA not a traceback, and not even the name of the function the error occurred in. With this help, we get a nice traceback in the edgeworker logs.
Files changed
3 files changed~3 modified