Skip to content

Commit 20662b9

Browse files
committed
fix: 로그아웃 실패 시 에러 로그 출력 추가
1 parent 093f74d commit 20662b9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/widgets/signin/lib/handleLogout.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ import { logout } from "@/widgets/signin/api/logout";
55
export const handleLogout = async () => {
66
try {
77
await logout();
8-
} catch {
8+
} catch (error) {
9+
console.error("로그아웃 API 호출에 실패했습니다:", error);
910
} finally {
1011
clearTokens();
1112
toast.success("로그아웃 되었습니다");

0 commit comments

Comments
 (0)