Skip to content

Commit

Permalink
chore: fix repeated error message (#8153)
Browse files Browse the repository at this point in the history
  • Loading branch information
sapphi-red committed May 13, 2022
1 parent 85b8b55 commit 63ec05a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vite/src/node/plugins/resolve.ts
Expand Up @@ -831,10 +831,10 @@ export function resolvePackageEntry(
return resolvedEntryPoint
}
}
packageEntryFailure(id)
} catch (e) {
packageEntryFailure(id, e.message)
}
packageEntryFailure(id)
}

function packageEntryFailure(id: string, details?: string) {
Expand Down

0 comments on commit 63ec05a

Please sign in to comment.