fix logging

This commit is contained in:
2025-07-24 06:41:58 -07:00
parent 7f454dc632
commit 4d47056e5b
2 changed files with 45 additions and 25 deletions

View File

@@ -49,8 +49,8 @@ func main() {
log.Fatalf("WowDir in %s is still the default setting, exiting", cfgPath)
}
stats, err := epoch.Update(config.WowDir, forceFlag, config.RemoveUnknownPatches, false)
if err != nil {
stats := epoch.Update(config.WowDir, forceFlag, config.RemoveUnknownPatches, false)
if stats.Error != nil {
log.Fatal(err)
}