Add missing await in storage service code

This commit is contained in:
Fedor Indutny 2024-11-20 10:59:33 -08:00 committed by GitHub
parent 19f7bff8a3
commit 495eca4e78
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1080,7 +1080,7 @@ async function fetchManifest(
const encryptedManifest = Proto.StorageManifest.decode(manifestBinary);
try {
return decryptManifest(encryptedManifest);
return await decryptManifest(encryptedManifest);
} catch (err) {
await stopStorageServiceSync(err);
}