Another fix for single-sticker packs

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2022-04-06 14:40:57 -07:00 committed by GitHub
parent 75b4f16c42
commit 4e87ff3286
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -706,7 +706,7 @@ async function doDownloadStickerPack(
});
const successfulStickerCount = jobResults.filter(item => item).length;
if (successfulStickerCount === 0) {
if (successfulStickerCount === 0 && nonCoverStickers.length !== 0) {
throw new Error('doDownloadStickerPack: All stickers failed to download');
}