Commit cb88e6f3 authored by Katelyn Gigante's avatar Katelyn Gigante
Browse files

Helpfully log which file is loading, so we can better fix yaml errors

parent 1f0d9a55
......@@ -62,6 +62,7 @@
while (newdb.Include.Any())
{
var filename = newdb.Include.First();
_logger.LogInformation($"Loading {filename}");
var temp = _deserializer.Deserialize<Database>(getFileContents(filename));
temp.Arrangements?.ToList().ForEach(kv => newdb.Arrangements[kv.Key] = kv.Value);
temp.GlobalText?.ToList().ForEach(kv => newdb.GlobalText[kv.Key] = kv.Value);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment