Skip to content

Commit

Permalink
feat: change error message
Browse files Browse the repository at this point in the history
  • Loading branch information
saul-atomrigs committed Jul 8, 2024
1 parent ba813ba commit aa604de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/suspensive.org/src/lib/hooks/useFetchContributors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ const useFetchContributors = () => {
const data: GithubRepoContributor[] = (await response.json()) as GithubRepoContributor[]

if (!Array.isArray(data)) {
throw new Error('Data is not an array')
throw new Error('Github contributors data is not an array')
}

if (data.length === 0) {
Expand Down

0 comments on commit aa604de

Please sign in to comment.