From 25677a234a83ea1763bf2c328f02cbc50e3756a0 Mon Sep 17 00:00:00 2001 From: James Date: Sun, 9 Jun 2024 17:33:45 +0200 Subject: [PATCH] Change the exception message to match the updated behaviour. --- src/Arch/Core/Jobs/World.Jobs.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Arch/Core/Jobs/World.Jobs.cs b/src/Arch/Core/Jobs/World.Jobs.cs index 16c6435..99a0d59 100644 --- a/src/Arch/Core/Jobs/World.Jobs.cs +++ b/src/Arch/Core/Jobs/World.Jobs.cs @@ -94,7 +94,7 @@ public void InlineParallelChunkQuery(in QueryDescription queryDescription, in // Job scheduler needs to be initialized. if (SharedJobScheduler is null) { - throw new Exception("JobScheduler was not initialized, create one instance of JobScheduler. This creates a singleton used for parallel iterations."); + throw new Exception($"SharedJobScheduler is missing, assign an instance to {nameof(World)}.{nameof(SharedJobScheduler)}. This singleton used for parallel iterations."); } // Cast pool in an unsafe fast way and run the query.