git://git.onelab.eu
/
plcapi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2cae291
)
fix: in debug mode, use the logger for echoing error reason instad of direct printf
author
gggeek
<giunta.gaetano@gmail.com>
Tue, 24 Jan 2023 08:12:56 +0000
(08:12 +0000)
committer
gggeek
<giunta.gaetano@gmail.com>
Tue, 24 Jan 2023 08:12:56 +0000
(08:12 +0000)
src/Request.php
patch
|
blob
|
history
diff --git
a/src/Request.php
b/src/Request.php
index
acf839e
..
153d731
100644
(file)
--- 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
*/