浏览代码

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; throw $e;
} catch (ParamException $e) { } catch (ParamException $e) {
$this->transaction->rollBack(); $this->transaction->rollBack();
throw $this->validateErrorResponse([$e->target => $e->getMessage()]);
return $this->validateErrorResponse([$e->target => $e->getMessage()]);
} catch (Exception $e) { } catch (Exception $e) {
$this->transaction->rollBack(); $this->transaction->rollBack();
logs()->error([ logs()->error([


正在加载...
取消
保存