Skip to content

Commit

Permalink
Update utils.js
Browse files Browse the repository at this point in the history
  • Loading branch information
moksha-hub authored Dec 19, 2024
1 parent ae5bcd4 commit d77a153
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/api/helpers/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ export async function getBrowsedRelationships(
}, []);
}
catch (error) {
console.error('Error processing relationships:', error);
throw new Error('Failed to fetch browsed relationships');
const errorMessage = 'Failed to fetch browsed relationships';
throw new Error(errorMessage);
}
}

0 comments on commit d77a153

Please sign in to comment.