Skip to content

Commit

Permalink
add error handling in assets build
Browse files Browse the repository at this point in the history
  • Loading branch information
Zetazzz committed Feb 27, 2024
1 parent 976b944 commit 51e4424
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/assets/scripts/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ const chainNetworkMap = {};
const networkChainMap = {};

chains.forEach((chain) => {
if (!chain) {
console.log('problemat data');
return;
}

chainNetworkMap[chain.chain_name] = chain.network_type;
});

Expand Down

0 comments on commit 51e4424

Please sign in to comment.