From 67216df94ccf7572b9a43f35247e59254dc7fed0 Mon Sep 17 00:00:00 2001 From: "sosuke.iwabuchi" Date: Mon, 31 Jul 2023 13:41:09 +0900 Subject: [PATCH] =?UTF-8?q?AppCommonException=E3=81=AE=E3=82=A8=E3=83=A9?= =?UTF-8?q?=E3=83=BC=E3=83=A1=E3=83=83=E3=82=BB=E3=83=BC=E3=82=B8=E5=87=BA?= =?UTF-8?q?=E5=8A=9B=E3=81=AE=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/Web/WebController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/Web/WebController.php b/app/Http/Controllers/Web/WebController.php index 1071dc5..b7575fb 100644 --- a/app/Http/Controllers/Web/WebController.php +++ b/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();