diff --git a/packages/frontend/src/pages/following-feed.vue b/packages/frontend/src/pages/following-feed.vue index e6dd816773..9218b18fda 100644 --- a/packages/frontend/src/pages/following-feed.vue +++ b/packages/frontend/src/pages/following-feed.vue @@ -89,7 +89,11 @@ async function selectUser(userId: string): Promise { .then(user => selectedUser.value = user) .catch(error => { console.error('Error fetching user info', error); - return selectedUserError.value = String(error); + + return selectedUserError.value = + typeof(error) === 'string' + ? String(error) + : JSON.stringify(error); }); } }