From 053445b35bb4d50e8a441295d2a94ed586ce2cab Mon Sep 17 00:00:00 2001 From: gggeek Date: Tue, 24 Jan 2023 08:12:56 +0000 Subject: [PATCH] fix: in debug mode, use the logger for echoing error reason instad of direct printf --- src/Request.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Request.php b/src/Request.php index acf839e6..153d7310 100644 --- a/src/Request.php +++ b/src/Request.php @@ -361,7 +361,7 @@ class Request ); if ($this->debug) { - print $xmlRpcParser->_xh['isf_reason']; + $this->getLogger()->debugMessage($xmlRpcParser->_xh['isf_reason']); } } // second error check: xml well-formed but not xml-rpc compliant @@ -419,7 +419,7 @@ class Request } /** - * Kept the old name even if Request class was renamed, for compatibility. + * Kept the old name even if Request class was renamed, for BC. * * @return string */ -- 2.47.0