E58D Removed \n as it was not being transformed while printing error msg t… · phpish/http@da3300a · GitHub
[go: up one dir, main page]

Skip to content

Commit da3300a

Browse files
committed
Removed \n as it was not being transformed while printing error msg to log.
1 parent c15e46e commit da3300a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public function getResponse() { return $this->response; }
163163
public function __toString()
164164
{
165165
$backtrace = $this->getTrace();
166-
return get_class($this) . ": [{$this->code}] {$this->message} in {$backtrace[0]['file']} on line {$backtrace[0]['line']}\n";
166+
return get_class($this) . ": [{$this->code}] {$this->message} in {$backtrace[0]['file']} on line {$backtrace[0]['line']}";
167167
}
168168
}
169169

0 commit comments

Comments
 (0)
0