Add more debug info

This commit is contained in:
Pieter Vander Vennet 2023-10-12 14:27:28 +02:00
parent 0e80b7470c
commit f954a93b59

View file

@ -1098,7 +1098,16 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
}
return { content: data }
} catch (e) {
console.error("Could not parse ", data, "due to", e, "\n", e.stack)
console.error(
"Could not parse the response of",
url,
"which contains",
data,
"due to",
e,
"\n",
e.stack
)
return { error: "malformed", url }
}
}