Chrome truncates error messages and adds “” in [removed]

前端 未结 2 2203
被撕碎了的回忆
被撕碎了的回忆 2021-02-05 12:43

We use window.onerror to catch unhandled exceptions (to log them for the dev team, and display a friendly user alert). Recently we noticed that in Google Chrome, the error messa

2条回答
  •  南旧
    南旧 (楼主)
    2021-02-05 13:00

    This is a known problem in Chrome and has already been noticed by other people: https://github.com/angular/angular.js/issues/5568.

    I don't think there is a workaround, but the bug is already reported: http://crbug.com/331971

提交回复
热议问题