diff options
-rw-r--r-- | FtechWebring.client.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/FtechWebring.client.js b/FtechWebring.client.js index 162227e..3e362dd 100644 --- a/FtechWebring.client.js +++ b/FtechWebring.client.js @@ -60,14 +60,17 @@ function _ftww_processData(raw) { } else { // We display an error message document.write("<ftww-base>The content that was supposed to appear here cannot be loaded due to an internal error. Please contact the website administrator.</ftww-base>"); + console.error(new Error("Unable to detect site")); } } else { // We display an error message document.write("<ftww-base>The content that was supposed to appear here cannot be loaded due to an internal error. Please contact the website administrator.</ftww-base>"); + console.error(new Error("No hostname")); } } catch (e) { // We display an error message document.write("<ftww-base>The content that was supposed to appear here cannot be loaded due to an internal error. Please contact the website administrator.</ftww-base>"); + console.error(e); } } |