Fix regression in timeoutOperations

This commit is contained in:
Zaid Abdulla committed 2019-11-19 13:13:25 -08:00
1 parent 27fb235d20
commit 612563f171
1 file changed
+3 -1
+3 -1
View File
@@ -403,7 +403,9 @@ export async function timeoutOperations(
const faults = [];
const operations = [];
for (const [commandKey, operation] of Object.entries(operations)) {
for (const [commandKey, operation] of Object.entries(
sessionContext.operations
)) {
if (operation.name !== "Download")
throw new Error(`Unknown operation name ${operation.name}`);