瀏覽代碼

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([


Loading…
取消
儲存