ソースを参照

ParamExceptionハンドルを修正

develop
sosuke.iwabuchi 1年前
コミット
c7cb8bc6a0
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      app/Http/Controllers/Web/WebController.php

+ 1
- 1
app/Http/Controllers/Web/WebController.php ファイルの表示

@@ -215,7 +215,7 @@ abstract class WebController extends BaseController
throw $e;
} catch (ParamException $e) {
$this->transaction->rollBack();
throw $this->validateErrorResponse([$e->target => $e->getMessage()]);
return $this->validateErrorResponse([$e->target => $e->getMessage()]);
} catch (Exception $e) {
$this->transaction->rollBack();
logs()->error([


読み込み中…
キャンセル
保存