Test SRI check errors with Faro

This commit is contained in:
Giuseppe Guerra
2024-10-09 13:59:04 +02:00
parent 380ce19b1a
commit 818ff761cc
@@ -97,6 +97,7 @@ func (s *Service) ModuleHash(ctx context.Context, p pluginstore.Plugin) string {
if err != nil {
s.log.Error("Failed to calculate module hash", "plugin", p.ID, "error", err)
}
mh += "broken"
s.moduleHashCache.Store(k, mh)
return mh
}