From 46bb3f190bb81ff204005828c56e2bc4b2bb4051 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B9=80=EB=B3=B4=EA=B3=A4?= Date: Wed, 4 Mar 2026 13:03:35 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20[eaccount]=20=EC=9A=B4=EC=98=81=EC=84=9C?= =?UTF-8?q?=EB=B2=84=20500=20=EC=97=90=EB=9F=AC=20=EB=94=94=EB=B2=84?= =?UTF-8?q?=EA=B9=85=20=E2=80=94=20set=5Ftime=5Flimit=20=EC=95=88=EC=A0=84?= =?UTF-8?q?=20=EC=B2=98=EB=A6=AC=20+=20=EC=83=81=EC=84=B8=20=EC=97=90?= =?UTF-8?q?=EB=9F=AC=20=EB=A9=94=EC=8B=9C=EC=A7=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/Http/Controllers/Barobill/EaccountController.php | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/Barobill/EaccountController.php b/app/Http/Controllers/Barobill/EaccountController.php index 52a1d028..ec5b61d7 100644 --- a/app/Http/Controllers/Barobill/EaccountController.php +++ b/app/Http/Controllers/Barobill/EaccountController.php @@ -317,7 +317,9 @@ public function latestBalances(Request $request): JsonResponse public function transactions(Request $request): JsonResponse { // SOAP API 호출이 여러 건 발생할 수 있으므로 타임아웃 연장 - set_time_limit(120); + if (function_exists('set_time_limit') && ! in_array('set_time_limit', explode(',', ini_get('disable_functions')))) { + @set_time_limit(120); + } try { $startDate = $request->input('startDate', date('Ymd')); @@ -429,11 +431,15 @@ public function transactions(Request $request): JsonResponse ], ]); } catch (\Throwable $e) { - Log::error('입출금내역 조회 오류: '.$e->getMessage()); + Log::error('입출금내역 조회 오류: '.$e->getMessage(), [ + 'file' => $e->getFile(), + 'line' => $e->getLine(), + 'trace' => $e->getTraceAsString(), + ]); return response()->json([ 'success' => false, - 'error' => '서버 오류: '.$e->getMessage(), + 'error' => '서버 오류: '.$e->getMessage().' ('.$e->getFile().':'.$e->getLine().')', ]); } }