Add temp logging, Move Http to be last in the order as its currently blocking, a few exceptions blocked out onLoad methods

This commit is contained in:
CWX
2025-01-11 21:43:43 +00:00
parent 0d158d2285
commit e2dbb7a092
7 changed files with 30 additions and 18 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ public class ModCallbacks : OnLoad
// if (ProgramStatics.MODS) {
// await this.postSptModLoader.load();
// } TODO: needs to be implemented
throw new NotImplementedException();
return;
}
public string GetRoute()
+1 -3
View File
@@ -26,12 +26,10 @@ public class SaveCallbacks : OnLoad, OnUpdate
_backupService = backupService;
}
public Task OnLoad()
public async Task OnLoad()
{
_backupService.InitAsync();
_saveServer.Load();
return Task.CompletedTask;
}
public async Task<bool> OnUpdate(long SecondsSinceLastRun)