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();