From 30f8e14b9cf6d34e4b5367849a6e982be942b894 Mon Sep 17 00:00:00 2001 From: Dev Date: Wed, 6 Nov 2024 19:37:02 +0000 Subject: [PATCH] improved debug messaging --- project/src/generators/BotLootGenerator.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/project/src/generators/BotLootGenerator.ts b/project/src/generators/BotLootGenerator.ts index 348b7283..404d7e33 100644 --- a/project/src/generators/BotLootGenerator.ts +++ b/project/src/generators/BotLootGenerator.ts @@ -509,9 +509,9 @@ export class BotLootGenerator { fitItemIntoContainerAttempts++; if (fitItemIntoContainerAttempts >= 4) { this.logger.debug( - `Failed to place item ${i} of ${totalItemCount} items into ${botRole} containers: ${equipmentSlots.join( + `Failed placing item: ${i} of: ${totalItemCount} items into: ${botRole} containers: ${equipmentSlots.join( ",", - )}. Tried ${fitItemIntoContainerAttempts} times, reason: ${ + )}. Tried: ${fitItemIntoContainerAttempts} times, reason: ${ ItemAddedResult[itemAddedResult] }, skipping`, );