Skip to content

Commit 9a3d1d5

Browse files
committed
comment
1 parent 20709f0 commit 9a3d1d5

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

resources/lib/UnityHTTPD.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ public static function redirect(?string $dest = null): never
4848
self::die();
4949
}
5050

51-
// assumes that a session is started and has a good unique session_id
51+
/* generate a unique ID that can be logged and also displayed to the user when something has
52+
gone wrong. This way the user can give us the ID and we can find the exact line in the log
53+
file that represents their issue.
54+
assumes that a session is started and has a good unique session_id */
5255
public static function errorID(?\Throwable $e = null): string
5356
{
5457
$e ??= new stdClass();

0 commit comments

Comments
 (0)