From 6fc4ce0f8635dfea0ed86791d5b4b867c9151175 Mon Sep 17 00:00:00 2001 From: "Dylan K. Taylor" Date: Fri, 14 Apr 2023 15:40:52 +0100 Subject: [PATCH] =?UTF-8?q?=C3=82TimingsCommand:=20include=20HTTP=20respon?= =?UTF-8?q?se=20code=20in=20debug=20message=20we=20should=20probably=20sho?= =?UTF-8?q?w=20this=20in=20the=20regular=20response=20message,=20but=20we?= =?UTF-8?q?=20need=20new=20translations=20for=20that.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/command/defaults/TimingsCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/command/defaults/TimingsCommand.php b/src/command/defaults/TimingsCommand.php index 60b4564b8..4eea19eb7 100644 --- a/src/command/defaults/TimingsCommand.php +++ b/src/command/defaults/TimingsCommand.php @@ -167,7 +167,7 @@ class TimingsCommand extends VanillaCommand{ Command::broadcastCommandMessage($sender, KnownTranslationFactory::pocketmine_command_timings_timingsRead( "https://" . $host . "/?id=" . $response["id"])); }else{ - $sender->getServer()->getLogger()->debug("Invalid response from timings server: " . $result->getBody()); + $sender->getServer()->getLogger()->debug("Invalid response from timings server (" . $result->getCode() . "): " . $result->getBody()); Command::broadcastCommandMessage($sender, KnownTranslationFactory::pocketmine_command_timings_pasteError()); } }