Add missing await in storage service code
This commit is contained in:
@@ -1080,7 +1080,7 @@ async function fetchManifest(
|
|||||||
const encryptedManifest = Proto.StorageManifest.decode(manifestBinary);
|
const encryptedManifest = Proto.StorageManifest.decode(manifestBinary);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
return decryptManifest(encryptedManifest);
|
return await decryptManifest(encryptedManifest);
|
||||||
} catch (err) {
|
} catch (err) {
|
||||||
await stopStorageServiceSync(err);
|
await stopStorageServiceSync(err);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user