Skip to content

Commit 19f216f

Browse files
simonLeary42Copilot
andcommitted
Apply suggestion from @Copilot
Co-authored-by: Copilot <[email protected]>
1 parent 36779b4 commit 19f216f

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
@@ -71,7 +71,7 @@ private static function throwableToArray(Throwable $t): array
7171
$output = [
7272
"type" => gettype($t),
7373
"msg" => $t->getMessage(),
74-
"trace" => str_replace($t->getTrace(), "\\", "/"), // backslash is bad for json
74+
"trace" => str_replace("\\", "/", $t->getTrace()), // backslash is bad for json
7575
];
7676
$previous = $t->getPrevious();
7777
if (!is_null($previous)) {

0 commit comments

Comments
 (0)