Improving URL displaying of failed Axios request

This commit is contained in:
David Négrier 2021-12-03 22:02:19 +01:00
parent 487b8317e7
commit 411ee251ff

View file

@ -105,9 +105,7 @@ export class ErrorScene extends Phaser.Scene {
// client never received a response, or request never left
console.error(
"Axios error. No full HTTP response received. Request to URL:",
error.request?.responseURL,
" - Details: ",
error.request?.details
error.config.url
);
scene.start(ErrorSceneName, {
title: "Network error",