yomichan/ext/bg/js
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
..
settings Error logging refactoring (#454) 2020-04-26 16:55:25 -04:00
anki-note-builder.js Update the parameters passed to various audio-related functions 2020-04-18 14:23:34 -04:00
anki.js Use isObject 2020-04-17 19:25:07 -04:00
audio-uri-builder.js Update the parameters passed to various audio-related functions 2020-04-18 14:23:34 -04:00
backend-api-forwarder.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
backend.js Error logging refactoring (#454) 2020-04-26 16:55:25 -04:00
background-main.js Use IIFE for entry points 2020-04-22 21:42:20 -04:00
clipboard-monitor.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
conditions.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
context-main.js Error logging refactoring (#454) 2020-04-26 16:55:25 -04:00
database.js Error logging refactoring (#454) 2020-04-26 16:55:25 -04:00
deinflector.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
dictionary-importer.js Rename loadImage to loadImageBase64 for clarity 2020-04-19 10:24:43 -04:00
dictionary.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
handlebars.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
japanese.js remove "fragment" from jp.convertReading variables 2020-04-13 22:59:56 +03:00
json-schema.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
mecab.js Error logging refactoring (#454) 2020-04-26 16:55:25 -04:00
media-utility.js Add documentation 2020-04-19 10:24:59 -04:00
options.js Merge pull request #447 from toasted-nutbread/util-conversions 2020-04-18 14:12:41 -04:00
page-exit-prevention.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
profile-conditions.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
request.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
search-main.js Error logging refactoring (#454) 2020-04-26 16:55:25 -04:00
search-query-parser-generator.js break after switch default 2020-04-14 21:13:46 +03:00
search-query-parser.js Error logging refactoring (#454) 2020-04-26 16:55:25 -04:00
search.js Error logging refactoring (#454) 2020-04-26 16:55:25 -04:00
text-source-map.js Update license author field to broader to explicitly reflect that 2020-04-10 11:10:21 -07:00
translator.js Merge pull request #450 from toasted-nutbread/frequency-readings 2020-04-18 14:14:30 -04:00
util.js Update isPrepared to be consistent with DisplaySearch's isPrepared 2020-04-18 21:11:15 -04:00