aboutsummaryrefslogtreecommitdiff
path: root/FtechWebring.client.js
diff options
context:
space:
mode:
authorMinteck ⭐ <nekostarfan@gmail.com>2021-10-15 18:31:10 +0000
committerMinteck ⭐ <nekostarfan@gmail.com>2021-10-15 18:31:10 +0000
commit4ed0103c20d7f2de3e739caf2f7a7e3be1f7ce72 (patch)
tree3c8e38e49ed6df2756617d2508b0bf9b61543de9 /FtechWebring.client.js
parent14cd12c2ef81d5eb2c67ad55b3c847a9eaf38822 (diff)
downloadwebring-4ed0103c20d7f2de3e739caf2f7a7e3be1f7ce72.tar.gz
webring-4ed0103c20d7f2de3e739caf2f7a7e3be1f7ce72.tar.bz2
webring-4ed0103c20d7f2de3e739caf2f7a7e3be1f7ce72.zip
Update 'FtechWebring.client.js'
Diffstat (limited to 'FtechWebring.client.js')
-rw-r--r--FtechWebring.client.js3
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);
}
}