a bit more verbose error logging in pingback posts

This commit is contained in:
Wouter Groeneveld 2021-03-24 15:57:40 +01:00
parent 9e39b19edc
commit 66362d81b6
1 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ function success(msg) {
}
function err(e) {
console.error(` -- pingback receive went wrong: ${e.message}`)
console.error(` -- pingback receive went wrong: ${e}`)
return `<?xml version="1.0" encoding="UTF-8"?>
<methodResponse>
<fault>
@ -40,7 +40,7 @@ function err(e) {
</name>
<value>
<string>
${e.message}
Sorry pal. Malformed request? Or something else, who knows...
</string>
</value>
</member>