內容簡介
WP JS Error Logger 是一個小型的外掛程式,我在參加波蘭華沙的 Front Trends 2013 時,在 Diogo Antunes 的演講「Know your errors」後很快速地設計完成。
這款外掛程式可以記錄發生在你公共網站前端的 JavaScript 錯誤,並將它們記錄成 WordPress 內部的非公開自訂文章類型。
被記錄下來的錯誤是呼叫 window.onerror 函式所造成的錯誤,但並非所有錯誤都會被記錄下來。但是...一些錯誤會被記錄下來,現在你可以追蹤它們了!😉
外掛標籤
開發者團隊
原文外掛簡介
WP JS Error Logger is a small plugin that I very quickly put together after wathcing Diogo Antunes’ presentation “Know your errors” at Front Trends 2013 in Warsaw, Poland.
It’s a plugin that will log the JavaScript-errors that occur on the front-end of your public website. Errors are logged to a non-public custom post type inside WordPress.
The errors that are logged are the errors that call window.onerror. Please note that not all errors end up there. But… some do, and now you can catch them! 😉
