diff --git a/admin/api/sync.go b/admin/api/sync.go index 0bcba713..47bfaaad 100644 --- a/admin/api/sync.go +++ b/admin/api/sync.go @@ -284,12 +284,10 @@ func autoSync(c *gin.Context) { if !IsProductionEnv { if err := sync.GlobalImporter.Sync(); err != nil { - lastSyncError = err.Error() log.Println("Unable to sync.GI.Sync:", err.Error()) c.AbortWithStatusJSON(http.StatusInternalServerError, gin.H{"errmsg": "Unable to perform the pull."}) return } - lastSyncError = "" } themes, err := fic.GetThemes() diff --git a/admin/static/views/sync.html b/admin/static/views/sync.html index 106cc6c3..3643d4d5 100644 --- a/admin/static/views/sync.html +++ b/admin/static/views/sync.html @@ -22,7 +22,7 @@