mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-11 07:54:36 -04:00
Bug fix to show/track errors on install/update
This commit is contained in:
parent
497a581bcd
commit
e7df1f5e7c
@ -231,7 +231,8 @@ class AppController extends BaseController
|
|||||||
}
|
}
|
||||||
Artisan::call('optimize', array('--force' => true));
|
Artisan::call('optimize', array('--force' => true));
|
||||||
} catch (Exception $e) {
|
} 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());
|
Event::fire(new UserSettingsChanged());
|
||||||
Session::flash('message', trans('texts.processed_updates'));
|
Session::flash('message', trans('texts.processed_updates'));
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
Response::make($e->getMessage(), 500);
|
Utils::logError($e);
|
||||||
|
return Response::make($e->getMessage(), 500);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user