Catch broader exception writing out config files #491

This commit is contained in:
Nabeel Shahzad 2020-01-15 13:57:56 -05:00
parent 831b72fb2b
commit bf24ffb1ba

View File

@ -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());