1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Multi-db support

This commit is contained in:
Hillel Coren 2017-05-02 22:46:29 +03:00
parent e560186bd6
commit ba90b3bcea

View File

@ -354,7 +354,7 @@ class AppController extends BaseController
Artisan::call('ninja:init-lookup', ['--validate' => true]);
return RESULT_SUCCESS;
} catch (Exception $exception) {
return RESULT_FAILURE;
return $exception->getMessage() ?: RESULT_FAILURE;
}
}