Add missing await in storage service code

Co-authored-by: Fedor Indutny <79877362+indutny-signal@users.noreply.github.com>
This commit is contained in:
automated-signal 2024-11-20 13:14:14 -06:00 committed by GitHub
parent 168772ccb5
commit 7fb66d9579
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);
}