Skip to content

Commit

Permalink
improving error messaging
Browse files Browse the repository at this point in the history
  • Loading branch information
pellicceama committed Apr 2, 2023
1 parent be82145 commit 8d7f177
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/repo/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export async function addIdentifierToNetwork(dir: string, networkCode: string, i
const networkInfoFilePath = path.join(dir, getDirPathForTokenlist(networkCode), 'info.json');

if(!fs.existsSync(networkInfoFilePath)) {
console.error('addIdentifierToNetwork Cannot find asset info file for network ' + networkCode + ' in directory ' + dir);
console.error('addIdentifierToNetwork Cannot find asset info file for network ' + networkCode + ' in location ' + networkInfoFilePath);
return { addedIdentifier: false };
}

Expand Down

0 comments on commit 8d7f177

Please sign in to comment.