diff --git a/pkg/catalog/loader/loader.go b/pkg/catalog/loader/loader.go index 19aa590970..cf75087325 100644 --- a/pkg/catalog/loader/loader.go +++ b/pkg/catalog/loader/loader.go @@ -717,7 +717,15 @@ func (store *Store) LoadTemplatesWithTags(templatesList, tags []string) []*templ dialers := protocolstate.GetDialersWithId(typesOpts.ExecutionId) if dialers == nil { - panic("dialers with executionId " + typesOpts.ExecutionId + " not found") + if err := protocolstate.Init(typesOpts); err != nil { + store.logger.Warning().Msgf("could not initialize dialers for executionId %s: %s", typesOpts.ExecutionId, err) + return loadedTemplates.Slice + } + dialers = protocolstate.GetDialersWithId(typesOpts.ExecutionId) + if dialers == nil { + store.logger.Warning().Msgf("dialers with executionId %s not found", typesOpts.ExecutionId) + return loadedTemplates.Slice + } } for _, templatePath := range includedTemplates {