Skip to content

Commit

Permalink
fix debug option type
Browse files Browse the repository at this point in the history
  • Loading branch information
flyinghail committed Jul 29, 2019
1 parent 1348d27 commit 040b63c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Application.php
Expand Up @@ -135,7 +135,7 @@ public function runWithTry(array $argv)
$this->logger->error($e->getMessage());
$this->logger->error('Seems like an application logic error, please contact the developer.');
} catch (\Throwable $e) {
ExceptionPrinter::dump($e, $this->getOption('debug'));
ExceptionPrinter::dump($e, $this->getOption('debug') ?? false);
}

return false;
Expand Down

0 comments on commit 040b63c

Please sign in to comment.