소스 검색

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…
취소
저장