Skip to content
Snippets Groups Projects
Unverified Commit 95454d54 authored by Sumner Evans's avatar Sumner Evans
Browse files

linkedingo/realtime: error if meta values not found

parent 4a5da81a
No related branches found
No related tags found
No related merge requests found
Pipeline #16519 passed
......@@ -149,7 +149,14 @@ func (c *Client) cacheMetaValues(ctx context.Context) error {
}
return nil
}
return crawl(doc)
if err = crawl(doc); err != nil {
return err
}
if c.clientPageInstanceID == "" || c.xLITrack == "" || c.i18nLocale == "" {
return fmt.Errorf("failed to find all meta values")
}
return nil
}
func (c *Client) RealtimeConnect(ctx context.Context) error {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment