yomichan/ext
toasted-nutbread 5b96559df8
Error logging refactoring (#454)
* Create new logging methods on yomichan object

* Use new yomichan.logError instead of global logError

* Remove old logError

* Handle unhandledrejection events

* Add addEventListener stub

* Update log function

* Update error conversion to support more types

* Add log event

* Add API log function

* Log errors to the backend

* Make error/warning logs update the badge

* Clear log error indicator on extension button click

* Log correct URL on the background page

* Fix incorrect error conversion

* Remove unhandledrejection handling

Firefox doesn't support it properly.

* Remove unused argument type from log function

* Improve function name

* Change console.warn to yomichan.logWarning

* Move log forwarding initialization into main scripts
2020-04-26 16:55:25 -04:00
..
bg Error logging refactoring (#454) 2020-04-26 16:55:25 -04:00
fg Error logging refactoring (#454) 2020-04-26 16:55:25 -04:00
mixed Error logging refactoring (#454) 2020-04-26 16:55:25 -04:00
manifest.json Change frontend-initialize.js to content-script-main.js 2020-04-19 14:26:20 -04:00