Skip to content

Commit 634e48d

Browse files
committed
Bug: showError in CLI/BaseCommand use hardcoded error view path
Fix #6656
1 parent eff1efe commit 634e48d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

system/CLI/BaseCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,8 +119,9 @@ protected function showError(Throwable $e)
119119
{
120120
$exception = $e;
121121
$message = $e->getMessage();
122+
$config = config('Exceptions');
122123

123-
require APPPATH . 'Views/errors/cli/error_exception.php';
124+
require $config->errorViewPath . '/cli/error_exception.php';
124125
}
125126

126127
/**

0 commit comments

Comments
 (0)