diff options
author | James Maa <jmaa@berkeley.edu> | 2024-05-23 15:23:10 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-23 22:23:10 +0000 |
commit | d6aa6737821f5db61e932714322f2401f86b5200 (patch) | |
tree | a8d95dab4c7f6ebe1140bb894a919bc666761ab6 /ext/js/core | |
parent | bbb19669c27a4216ae11937650da173165e72978 (diff) |
Basic Spanish Transforms (#908)
* Spanish transforms
* Add more spanish transforms
* Address comments
* Fix types
* Undo prefix change
Diffstat (limited to 'ext/js/core')
-rw-r--r-- | ext/js/core/log.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/js/core/log.js b/ext/js/core/log.js index 8401cc2b..cb714e70 100644 --- a/ext/js/core/log.js +++ b/ext/js/core/log.js @@ -73,7 +73,7 @@ class Logger extends EventDispatcher { */ logGenericError(error, level, context) { if (typeof context === 'undefined') { - context = {url: location.href}; + context = typeof location === 'undefined' ? {url: 'unknown'} : {url: location.href}; } let errorString; |