From ad9a352488e40dba313048309c122e34c14b48f2 Mon Sep 17 00:00:00 2001 From: Chomp Date: Fri, 7 Jan 2022 09:51:19 +0000 Subject: [PATCH] better exception message --- Common/Helpers/ItemTemplateHelper.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/Helpers/ItemTemplateHelper.cs b/Common/Helpers/ItemTemplateHelper.cs index 44af5c0..0748357 100644 --- a/Common/Helpers/ItemTemplateHelper.cs +++ b/Common/Helpers/ItemTemplateHelper.cs @@ -20,7 +20,7 @@ namespace Generator.Helpers var itemsFilePath = $"{Directory.GetCurrentDirectory()}\\Assets\\items.json"; if (!File.Exists(itemsFilePath)) { - throw new Exception($"Missing items.json under assets ({itemsFilePath})"); + throw new Exception($"Missing items.json in /assets ({itemsFilePath})"); } var itemsJson = File.ReadAllText(itemsFilePath);