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 01e0b50 commit 2c47091Copy full SHA for 2c47091
src/combinator.cpp
@@ -201,7 +201,14 @@ void Combinator::on_transformer_config(const metricq::json& config)
201
// Register the combined metric as a new source metric
202
auto& metric = (*this)[combined_name];
203
204
- metric.metadata["displayExpression"] = displayExpression(combined_expression);
+ try
205
+ {
206
+ metric.metadata["displayExpression"] = displayExpression(combined_expression);
207
+ }
208
+ catch (std::runtime_error&)
209
210
+ Log::error("Failed to create the Display Expression");
211
212
213
if (combined_config.count("chunk_size"))
214
{
0 commit comments