Skip to content

Commit

Permalink
Merge pull request #6657 from fpoy/BUG_hardcoded_error_view_path
Browse files Browse the repository at this point in the history
Bug: showError in CLI/BaseCommand use hardcoded error view path
  • Loading branch information
samsonasik authored Oct 10, 2022
2 parents eff1efe + 3d02abc commit c7a47fa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion system/CLI/BaseCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,9 @@ protected function showError(Throwable $e)
{
$exception = $e;
$message = $e->getMessage();
$config = config('Exceptions');

require APPPATH . 'Views/errors/cli/error_exception.php';
require $config->errorViewPath . '/cli/error_exception.php';
}

/**
Expand Down

0 comments on commit c7a47fa

Please sign in to comment.