fix: add error logging for various API calls across components
Deploy to VPS / deploy (push) Successful in 2m20s

This commit is contained in:
asepharyana
2026-07-26 16:34:06 +07:00
parent 74eabb7231
commit 1021301656
11 changed files with 56 additions and 51 deletions
@@ -82,8 +82,8 @@ export default function DashboardPage() {
const detail = await dashboardApi.getUserDetail(userId);
setActiveUser(detail);
setView("user-detail");
} catch {
/* ignore */
} catch (err) {
console.error("dashboard/userDetail:", err);
}
}}
/>
@@ -97,8 +97,8 @@ export default function DashboardPage() {
const detail = await dashboardApi.getChannelDetail(chId);
setActiveChannel(detail);
setView("channel-detail");
} catch {
/* ignore */
} catch (err) {
console.error("dashboard/channelDetail:", err);
}
}}
/>