mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-07 23:03:00 +03:00
Added testing to cover debug view
This commit is contained in:
@@ -12,18 +12,15 @@ class WhoopsBookStackPrettyHandler extends Handler
|
||||
*/
|
||||
public function handle()
|
||||
{
|
||||
// TODO - Assistance View
|
||||
// Docs links
|
||||
// Discord Links
|
||||
// Github Issue Links (With pre-filled search?)
|
||||
|
||||
$exception = $this->getException();
|
||||
|
||||
echo view('errors.debug', [
|
||||
'error' => $exception->getMessage(),
|
||||
'errorClass' => get_class($exception),
|
||||
'trace' => $exception->getTraceAsString(),
|
||||
'environment' => $this->getEnvironment(),
|
||||
])->render();
|
||||
|
||||
return Handler::QUIT;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user