mirror of
https://github.com/getpaseo/paseo.git
synced 2026-12-01 04:36:26 +00:00
React Native reports an error thrown out of a press handler, timer, animation frame, or microtask to ErrorUtils as fatal, so one bad plugin callback terminated a release app. The plugin error boundary only covers render and effects. Client bundles now evaluate with a paseo-plugin://<server>/<plugin> source URL, and a wrapped global handler logs errors whose stack has a plugin frame instead of forwarding them. Errors without a plugin frame reach the previous handler unchanged. Hermes prints an empty source for new Function code and records no creation site, so the bundle receives a Function that appends a source URL to code it compiles. Code compiled through eval, globalThis.Function, or from already compiled code stays unattributed and fatal. Refs #10978