client: fix batch pop() of exception

This commit is contained in:
Michael Davidsaver
2023-05-10 11:19:41 -07:00
parent af3c870b7a
commit a4e974def9
+2 -2
View File
@@ -160,11 +160,11 @@ struct SubscriptionImpl final : public OperationBase, public Subscription
{
{
if(!queue.empty()) {
auto ent(std::move(queue.front()));
if(!canthrow && ent.exc)
if(!canthrow && queue.front().exc)
return;
auto ent(std::move(queue.front()));
queue.pop_front();
if(pipeline) {