mirror of
https://github.com/bs-community/blessing-skin-server.git
synced 2024-12-27 06:29:19 +08:00
Fix catching cipher exception
This commit is contained in:
parent
acde755e43
commit
93a7bae30d
@ -59,7 +59,7 @@ class AppServiceProvider extends ServiceProvider
|
||||
// @codeCoverageIgnoreStart
|
||||
try {
|
||||
$this->app->make('cipher');
|
||||
} catch (ReflectionException $e) {
|
||||
} catch (\Illuminate\Contracts\Container\BindingResolutionException $e) {
|
||||
throw new PrettyPageException(trans('errors.cipher.unsupported', ['cipher' => config('secure.cipher')]));
|
||||
}
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
||||
- Add missing l10n text.
|
||||
- Fixed that model was reset after resetting skin previewing.
|
||||
- Fixed that error stack doesn't show paths from plugins when AJAX has an error.
|
||||
- Fixed that error page doesn't display when using an unsupported hash algorithm.
|
||||
|
||||
## Removed
|
||||
|
||||
|
@ -24,6 +24,7 @@
|
||||
- 补充部分缺失的语言文本
|
||||
- 重置皮肤预览后,皮肤模型也被重置的问题
|
||||
- AJAX 出现错误时,堆栈中不显示来自插件的部分
|
||||
- 当使用了不支持的密码加密算法时,错误页面没有正确显示的问题
|
||||
|
||||
## 移除
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user