Bug fix to show/track errors on install/update
This commit is contained in:
parent
497a581bcd
commit
e7df1f5e7c
1 changed files with 4 additions and 2 deletions
|
|
@ -231,7 +231,8 @@ class AppController extends BaseController
|
|||
}
|
||||
Artisan::call('optimize', array('--force' => true));
|
||||
} catch (Exception $e) {
|
||||
Response::make($e->getMessage(), 500);
|
||||
Utils::logError($e);
|
||||
return Response::make($e->getMessage(), 500);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -262,7 +263,8 @@ class AppController extends BaseController
|
|||
Event::fire(new UserSettingsChanged());
|
||||
Session::flash('message', trans('texts.processed_updates'));
|
||||
} catch (Exception $e) {
|
||||
Response::make($e->getMessage(), 500);
|
||||
Utils::logError($e);
|
||||
return Response::make($e->getMessage(), 500);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue