Skip to content

Commit

Permalink
chore: comments
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-cardenas-coding committed Jul 16, 2024
1 parent 8d0f553 commit 8d36c1d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/packs-integrations.js
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ async function write(res, packName, logoUrlMap) {
logoUrlMap[packName] = `${packName}.${mime.extension(type)}`;
});
} else {
reject("Invalid Mime type for the logo");
reject(`Invalid MIME type received for the logo ${packName}`);
}
});
}
Expand Down Expand Up @@ -362,6 +362,8 @@ async function getLogoUrl(packsAllData, logoUrlMap) {
}
} catch (e) {
// Intentionally ignoring errors here to continue processing other logos
// Enable the below line to log the error, if needed, for debugging.
// logger.error(e);
}
}
}
Expand Down

0 comments on commit 8d36c1d

Please sign in to comment.