We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 093f74d commit 20662b9Copy full SHA for 20662b9
1 file changed
src/widgets/signin/lib/handleLogout.ts
@@ -5,7 +5,8 @@ import { logout } from "@/widgets/signin/api/logout";
5
export const handleLogout = async () => {
6
try {
7
await logout();
8
- } catch {
+ } catch (error) {
9
+ console.error("로그아웃 API 호출에 실패했습니다:", error);
10
} finally {
11
clearTokens();
12
toast.success("로그아웃 되었습니다");
0 commit comments