diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-07-04 09:54:34 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2023-07-04 09:54:34 +0000 |
| commit | 80a8a75ea6070650b86d4f6aa008bfb65b22f513 (patch) | |
| tree | 4a2bf89bc2ec4f9ca5870a51c7311fc616fdf204 | |
| parent | 73a61471520832bb673ed13dcdbe9ba248a5ec86 (diff) | |
add error detail, fixes #2814
Closes #2814
Merge request studip/studip!1896
| -rw-r--r-- | lib/classes/JsonApi/Errors/ErrorHandler.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classes/JsonApi/Errors/ErrorHandler.php b/lib/classes/JsonApi/Errors/ErrorHandler.php index eed747b..418065b 100644 --- a/lib/classes/JsonApi/Errors/ErrorHandler.php +++ b/lib/classes/JsonApi/Errors/ErrorHandler.php @@ -85,7 +85,7 @@ class ErrorHandler $errors = $this->createErrorCollection( '500', $exception->getMessage(), - null, + $exception->getFile() . '(' . $exception->getLine() . ')', $exception, $displayErrorDetails ); |
