mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-26 22:48:20 +01:00
Fix a race condition in OpenDreamInstaller
This commit is contained in:
@@ -157,6 +157,8 @@ namespace Tgstation.Server.Host.Components.Engine
|
||||
{
|
||||
Logger.LogTrace("OD repo seems to already exist, attempting load and fetch...");
|
||||
repo = await repositoryManager.LoadRepository(cancellationToken);
|
||||
if (repo == null)
|
||||
throw new JobException("Can't load OpenDream repository! Please delete cache from disk!");
|
||||
|
||||
await repo!.FetchOrigin(
|
||||
progressSection1,
|
||||
|
||||
Reference in New Issue
Block a user