- Fixed a missing parenthesis pair within the URL
This commit is contained in:
parent
f8b018144b
commit
fe37cfe246
|
@ -30,7 +30,7 @@ class DumpHandler {
|
|||
'file' => $trace['file'],
|
||||
'line' => $trace['line'],
|
||||
'title' => substr(strip_tags(trim(str_replace([' '], [''], $message))), 0, 255),
|
||||
'url' => ( ( 'on' === $_SERVER['HTTPS'] ?? false ) ? 'https' : 'http' ) . '://' . ( $_SERVER['HTTP_HOST'] ?? "") . ( $_SERVER["REQUEST_URI"] ?? "" ),
|
||||
'url' => ( ( 'on' === ($_SERVER['HTTPS'] ?? false) ) ? 'https' : 'http' ) . '://' . ( $_SERVER['HTTP_HOST'] ?? "") . ( $_SERVER["REQUEST_URI"] ?? "" ),
|
||||
'backtrace' => json_encode($backtrace),
|
||||
'source' => ( new SourceCodeFormatter() )->generateFromFile($trace['file'] === "unknown" ? "" : $trace['file'], $trace['line']),
|
||||
'data' => [
|
||||
|
|
Loading…
Reference in New Issue