Skip to content

Commit

Permalink
Merge pull request #751 from huangdijia/fix
Browse files Browse the repository at this point in the history
Fix the bug that call to a member function getFrameFilters() on null
  • Loading branch information
denis-sokolov committed Mar 6, 2023
2 parents 3e8aebb + c5689df commit e864ac9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Whoops/Handler/PrettyPageHandler.php
Expand Up @@ -287,6 +287,7 @@ public function handle()
$vars["tables"] = array_merge($extraTables, $vars["tables"]);

$plainTextHandler = new PlainTextHandler();
$plainTextHandler->setRun($this->getRun());
$plainTextHandler->setException($this->getException());
$plainTextHandler->setInspector($this->getInspector());
$vars["preface"] = "<!--\n\n\n" . $this->templateHelper->escape($plainTextHandler->generateResponse()) . "\n\n\n\n\n\n\n\n\n\n\n-->";
Expand Down Expand Up @@ -753,7 +754,7 @@ public function getApplicationPaths()

/**
* Set the application paths.
*
*
* @return void
*/
public function setApplicationPaths(array $applicationPaths)
Expand Down

0 comments on commit e864ac9

Please sign in to comment.