microsoft / overreact-core

Core components for Overreact, a universal data layer for React
MIT License
7 stars 11 forks source link

should have a fallback logic in error handling to just stringify the error object #53

Open yaoyao-ict opened 3 years ago

yaoyao-ict commented 3 years ago

https://github.com/microsoft/overreact-core/blob/main/packages/overreact/src/middleware/instrumentation/instrumentation-utils.js

Line 126, we may need to add a fallback logic to JSON.stringify all the error that we don't understand.