Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
smalyshev committed Dec 12, 2024
1 parent 20f91c5 commit 5a84912
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,8 @@ public void esql(
planningMetricsManager.publish(planningMetrics, false);
listener.onFailure(ex);
});
// Wrap it in a listener so that if we have any exceptions during execution, the listener picks it up
// and all the metrics are properly updated
ActionListener.run(executeListener, l -> session.execute(request, executionInfo, planRunner, l));
}

Expand Down

0 comments on commit 5a84912

Please sign in to comment.