BetterJS / badjs-report

monitor error and report
MIT License
1.14k stars 193 forks source link

跨域情况下没有对promise封装 #44

Open saysmy opened 6 years ago

saysmy commented 6 years ago

跨域情况下unhandledrejection监听不到报错,只能通过catch方法或包裹try-catch,对promise构造函数本身如何包裹try-catch呢