diff --git a/src/main/java/io/zeebe/monitor/ZeebeSimpleMonitorApp.java b/src/main/java/io/zeebe/monitor/ZeebeSimpleMonitorApp.java index d80a59b4..dcee51b7 100644 --- a/src/main/java/io/zeebe/monitor/ZeebeSimpleMonitorApp.java +++ b/src/main/java/io/zeebe/monitor/ZeebeSimpleMonitorApp.java @@ -15,6 +15,7 @@ */ package io.zeebe.monitor; +import com.samskivert.mustache.Mustache; import io.camunda.zeebe.spring.client.EnableZeebeClient; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; @@ -53,4 +54,10 @@ public Executor asyncExecutor() { executor.initialize(); return executor; } + + @Bean + public Mustache.Compiler configureFallbackValueForMissingVariablesInMustacheTemplates( + Mustache.TemplateLoader templateLoader) { + return Mustache.compiler().defaultValue("⍰").withLoader(templateLoader); + } }