From 750776d5c88aecca5df3ec68876526d5fa6739e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EC=9C=A0=EB=B3=91=EC=B2=A0?= Date: Tue, 17 Mar 2026 10:25:15 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20[exception]=20BadRequestHttpException=20?= =?UTF-8?q?=EC=BB=A4=EC=8A=A4=ED=85=80=20=EB=A9=94=EC=8B=9C=EC=A7=80=20?= =?UTF-8?q?=EC=A0=84=EB=8B=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 하드코딩된 '잘못된 요청' 대신 예외 메시지 우선 사용 - 메시지 없을 경우 기존 기본값 유지 Co-Authored-By: Claude Opus 4.6 (1M context) --- app/Exceptions/Handler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Exceptions/Handler.php b/app/Exceptions/Handler.php index 03e127a8..3928ffed 100644 --- a/app/Exceptions/Handler.php +++ b/app/Exceptions/Handler.php @@ -95,7 +95,7 @@ public function render($request, Throwable $exception) if ($exception instanceof BadRequestHttpException) { return response()->json([ 'success' => false, - 'message' => '잘못된 요청', + 'message' => $exception->getMessage() ?: '잘못된 요청', 'data' => null, ], 400); }