Add const to exception

This commit is contained in:
Josip Mrden 2024-03-21 12:44:26 +01:00
parent 358c34d444
commit 75d8a216c3

View File

@ -4401,7 +4401,7 @@ inline ExecutionHeaders ExecutionResult::Headers() const { return mgp::fetch_exe
inline std::optional<ExecutionRow> ExecutionResult::PullOne() const {
try {
return ExecutionRow(mgp::MemHandlerCallback(pull_one, result_, graph_));
} catch (std::exception &e) {
} catch (const std::exception &e) {
return std::nullopt;
}
}