瀏覽代碼

AppCommonExceptionのエラーメッセージ出力の修正

develop
sosuke.iwabuchi 2 年之前
父節點
當前提交
67216df94c
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      app/Http/Controllers/Web/WebController.php

+ 1
- 1
app/Http/Controllers/Web/WebController.php 查看文件

@@ -176,7 +176,7 @@ abstract class WebController extends BaseController
return $this->failedResponse([], $e->getMessage());
} catch (AppCommonException $e) {
$this->transaction->rollBack();
logs()->error(sprintf("Appエラー:%s", $e->getMessage()));
logs()->error(sprintf("Appエラー:%s File:%s Line:%d", $e->getMessage(), $e->getFile(), $e->getLine()));
return $this->failedResponse();
} catch (ExclusiveException $e) {
$this->transaction->rollBack();


Loading…
取消
儲存