Fixed unwrapping in frame.rs

This commit is contained in:
Arnab1181412
2021-08-11 16:52:12 +05:30
parent 56469ae204
commit 49a30b9dab

View File

@@ -1306,7 +1306,7 @@ impl ExecutingFrame<'_> {
return Err(vm.new_type_error(msg));
}
}
map_obj.set_item(key, value, vm).unwrap();
map_obj.set_item(key, value, vm)?;
}
}
} else {