We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d11986b commit b050952Copy full SHA for b050952
Griddly.Mvc/Results/QueryableResult.cs
@@ -84,8 +84,14 @@ internal void PopulateSummaryValue(GriddlyColumn c)
84
case SummaryAggregateFunction.Average:
85
case SummaryAggregateFunction.Min:
86
case SummaryAggregateFunction.Max:
87
- c.SummaryValue = _result.Aggregate(c.SummaryFunction.Value.ToString(), c.ExpressionString);
88
-
+ try
+ {
89
+ c.SummaryValue = _result.Aggregate(c.SummaryFunction.Value.ToString(), c.ExpressionString);
90
+ }
91
+ catch (Exception ex) when (ex.InnerException is ArgumentNullException)
92
93
+ c.SummaryValue = null;
94
95
break;
96
97
default:
0 commit comments