Skip to content

Commit e4db086

Browse files
committed
don't explode trace
1 parent aef306a commit e4db086

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/lib/UnitySite.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public static function errorLog(string $title, string $message)
4848
"REMOTE_USER" => @$_SERVER["REMOTE_USER"],
4949
"REMOTE_ADDR" => @$_SERVER["REMOTE_ADDR"],
5050
// getTrace() is a list but the JSON is very verbose
51-
"trace" => explode(PHP_EOL, (new \Exception())->getTraceAsString())
51+
"trace" => (new \Exception())->getTraceAsString()
5252
]
5353
)
5454
);

0 commit comments

Comments
 (0)