updater error logs
This commit is contained in:
@@ -108,13 +108,14 @@ func updateEpochStatus() {
|
||||
|
||||
// Check for Epoch-specific files
|
||||
epochPatchesApplied := false
|
||||
stats, err := epoch.Update(paths.EpochPath, false, true, true)
|
||||
if err != nil {
|
||||
log.Debugf("Failed to get download Epoch patches: %v", err)
|
||||
}
|
||||
if stats.Outdated == 0 {
|
||||
log.Debug("Nothing is outdated")
|
||||
epochPatchesApplied = true
|
||||
stats := epoch.Update(paths.EpochPath, false, true, true)
|
||||
if stats.Error != nil {
|
||||
log.Error(stats.Error.Error())
|
||||
} else {
|
||||
if stats.Outdated == 0 {
|
||||
log.Debug("Everything is up-to-date!")
|
||||
epochPatchesApplied = true
|
||||
}
|
||||
}
|
||||
|
||||
// Check if patched files have the correct size (matches bundled versions)
|
||||
|
Reference in New Issue
Block a user