Skip to content

Commit

Permalink
Fix small props parsing bug for filter (facebook#44637)
Browse files Browse the repository at this point in the history
Summary:

Setting the wrong thing to {}. `result` should be set here just like in the other early returns.

Changelog: [Internal]

Reviewed By: NickGerleman

Differential Revision: D57617046
  • Loading branch information
joevilches authored and facebook-github-bot committed May 21, 2024
1 parent fb23470 commit 241c298
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -833,7 +833,7 @@ inline void fromRawValue(
filter.push_back(filterPrimitive);
} catch (const std::exception& e) {
LOG(ERROR) << "Could not parse FilterPrimitive: " << e.what();
filter = {};
result = {};
return;
}
}
Expand Down

0 comments on commit 241c298

Please sign in to comment.