Better logging
This commit is contained in:
parent
3fcc776e3f
commit
fa6104a453
@ -49,7 +49,7 @@ namespace MarketPriceLookup.Common.Helpers
|
||||
{
|
||||
//oh no
|
||||
var existingItem = priceFile[bsgId];
|
||||
LoggingHelpers.LogToConsole($"Item already exists: {bsgId} {name}. item that already exists: {existingItem.TemplateId} {existingItem.Name}");
|
||||
LoggingHelpers.LogError($"Item already exists: {bsgId} {name}. item that already exists: {existingItem.TemplateId} {existingItem.Name}");
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -64,6 +64,7 @@ namespace MarketPriceLookup.Common.Helpers
|
||||
//Currency = currency,
|
||||
TemplateId = bsgId
|
||||
});
|
||||
LoggingHelpers.LogSuccess($"Adding item: {bsgId} {name}");
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user