diff --git a/updater.go b/updater.go index b7caed0e..850f6a4e 100644 --- a/updater.go +++ b/updater.go @@ -130,7 +130,10 @@ func RunUpdater(config *UpdaterConfig, datastore database.Datastore, st *stopper } } - g.Export(datastore) + err = g.Export(datastore) + if err != nil { + log.WithError(err).Error("vulnerability export to grafeas server failed") + } // Unlock the updater. unlock(datastore, updaterLockName, whoAmI)