Skip to content
Snippets Groups Projects
Unverified Commit 0a4dd360 authored by Julius Härtl's avatar Julius Härtl
Browse files

Do not escape slashes for logged exceptions


Signed-off-by: default avatarJulius Härtl <jus@bitgrid.net>
parent 4011262f
No related branches found
No related tags found
No related merge requests found
...@@ -324,7 +324,7 @@ class Log implements ILogger { ...@@ -324,7 +324,7 @@ class Log implements ILogger {
try { try {
if ($level >= $minLevel) { if ($level >= $minLevel) {
if (!$this->logger instanceof IFileBased) { if (!$this->logger instanceof IFileBased) {
$data = json_encode($data, JSON_PARTIAL_OUTPUT_ON_ERROR); $data = json_encode($data, JSON_PARTIAL_OUTPUT_ON_ERROR | JSON_UNESCAPED_SLASHES);
} }
$this->writeLog($app, $data, $level); $this->writeLog($app, $data, $level);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment