Skip to content

Commit

Permalink
feat: return full errors when generating graphs
Browse files Browse the repository at this point in the history
  • Loading branch information
gabidobo committed Feb 13, 2023
1 parent 470de60 commit 430fdc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/graph/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ const getRegistryDataMultiple = async (packages) => {
const packageData = await getRegistryData(name, version);
return [...prevData, packageData];
} catch (error) {
errors.push(error.message);
errors.push(error);
return prevData;
}
}
Expand Down

0 comments on commit 430fdc2

Please sign in to comment.