The documentation describes an abs_path attribute, in addition to the filename attribute.
I’ve added a the abs_path attribute, and this is ingested (by the hosted version of Sentry) without warnings - and appears in the ingested raw JSON as well, for example:
{
"filename": "test.php",
"abs_path": "/mnt/c/workspace/test/kodus-sentry/test.php",
"function": "run",
"lineno": 455,
"context_line": "exit(run());",
"pre_context": [
" }",
" }",
" }",
");",
""
],
"post_context": [
""
]
},
But the absolute path isn’t visible anywhere in the UI?
Tried hovering over the exception filename, and it doesn’t expand.
Even when switching to the “raw” view, the absolute paths are not displayed:
RuntimeException: boom
#4 test.php(365): null
#3 {no file}(null): {closure}
#2 vendor/mindplay/testies/src/TestDriver.php(155): call_user_func
#1 vendor/mindplay/testies/header.php(34): mindplay\testies\TestDriver->run
#0 test.php(455): run
What gives?
I guess it’s considered not much more useful at a glance than