Last active
June 14, 2019 21:32
-
-
Save jarektkaczyk/95a1c2c0aa987e17c320d74b5e9b2b6b to your computer and use it in GitHub Desktop.
always show artisan fatal errors VERBOSE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Add this override to your app/Exceptions/Handler.php | |
/** | |
* Render an exception to the console. | |
* | |
* @param \Symfony\Component\Console\Output\OutputInterface $output | |
* @param \Exception $e | |
* @return void | |
*/ | |
public function renderForConsole($output, Exception $e) | |
{ | |
$output->setVerbosity(\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE); | |
return parent::renderForConsole($output, $e); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment