Skip to content

Instantly share code, notes, and snippets.

@jarektkaczyk
Last active June 14, 2019 21:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jarektkaczyk/95a1c2c0aa987e17c320d74b5e9b2b6b to your computer and use it in GitHub Desktop.
Save jarektkaczyk/95a1c2c0aa987e17c320d74b5e9b2b6b to your computer and use it in GitHub Desktop.
always show artisan fatal errors VERBOSE
<?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