Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
lilkidsuave authored Feb 13, 2024
1 parent 79dc769 commit 2101c71
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,11 @@ for (const file of servapps) {
servappsJSON.push(servapp)
} catch (error) {
if (error.message.includes('is not defined')) {
console.error(`Error: servapp is not defined for ${file}. Skipping.`);
console.error(`Error: Missing ${file}. Skipping.`);
continue;
} else {
console.error(`Error loading description.json for ${file}:`, error.message);
console.error(`Unknown Error`, error.message);
continue;
}
}
}
Expand Down

0 comments on commit 2101c71

Please sign in to comment.