From ba90b3bceac81428a53d2cb523e4f98545b032c4 Mon Sep 17 00:00:00 2001 From: Hillel Coren Date: Tue, 2 May 2017 22:46:29 +0300 Subject: [PATCH] Multi-db support --- app/Http/Controllers/AppController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/AppController.php b/app/Http/Controllers/AppController.php index 3eb9a65f3c..add8da1625 100644 --- a/app/Http/Controllers/AppController.php +++ b/app/Http/Controllers/AppController.php @@ -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; } }