From 3022e33bda2508713b6cb31ff8e58fe37df1d15e Mon Sep 17 00:00:00 2001 From: kremsy Date: Fri, 14 Feb 2014 14:22:39 +0100 Subject: [PATCH] todo expl --- application/core/ManiaControl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/core/ManiaControl.php b/application/core/ManiaControl.php index e7505680..0a7d6b10 100644 --- a/application/core/ManiaControl.php +++ b/application/core/ManiaControl.php @@ -359,7 +359,7 @@ class ManiaControl implements CommandListener { try { $this->client = Connection::factory($host, $port, self::CONNECT_TIMEOUT, $login, $pass); } catch(Exception $e) { - // TODO: is it even needed to try-catch here? we will crash anyways + // TODO: is it even needed to try-catch here? we will crash anyways, YES to avoid a message report to mc website trigger_error("Couldn't authenticate on server with user '{$login}'! " . $e->getMessage(), E_USER_ERROR); }