We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18a6e4c commit 58a0fe0Copy full SHA for 58a0fe0
resources/lib/UnityHTTPD.php
@@ -151,7 +151,7 @@ public static function errorLog(
151
private static function throwableToArray(\Throwable $t): array
152
{
153
$output = [
154
- "type" => gettype($t),
+ "class" => get_class($t),
155
"msg" => $t->getMessage(),
156
// newlines are bad for error log, but getTrace() is too verbose
157
"trace" => explode("\n", $t->getTraceAsString()),
0 commit comments