Catch broader exception writing out config files #491
This commit is contained in:
parent
831b72fb2b
commit
bf24ffb1ba
@ -221,7 +221,7 @@ class InstallerController extends Controller
|
|||||||
*/
|
*/
|
||||||
try {
|
try {
|
||||||
$this->envSvc->createConfigFiles($attrs);
|
$this->envSvc->createConfigFiles($attrs);
|
||||||
} catch (FileException $e) {
|
} catch (\Exception $e) {
|
||||||
Log::error('Config files failed to write');
|
Log::error('Config files failed to write');
|
||||||
Log::error($e->getMessage());
|
Log::error($e->getMessage());
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user