debug help
turns out my _event is null. because ical.
This commit is contained in:
parent
5b99e360e7
commit
8b1f042ec9
@ -153,8 +153,9 @@ namespace director
|
|||||||
_signal.WaitOne(calendarNaptime);
|
_signal.WaitOne(calendarNaptime);
|
||||||
|
|
||||||
if (!workQueue.TryDequeue(out todo)) { continue; }
|
if (!workQueue.TryDequeue(out todo)) { continue; }
|
||||||
Console.WriteLine($"threadwork consumes! showtime at {todo.Showtime}, {todo.Occurrence._event.Summary} on {todo.Occurrence.CalendarSourceName}");
|
Console.WriteLine($"threadwork consumes!");
|
||||||
|
Console.WriteLine(JsonConvert.SerializeObject(todo));
|
||||||
|
|
||||||
todo.Configuration = findConfig(todo.Occurrence.CalendarSourceName, todo.Occurrence._event.Summary);
|
todo.Configuration = findConfig(todo.Occurrence.CalendarSourceName, todo.Occurrence._event.Summary);
|
||||||
if (todo.Configuration == null)
|
if (todo.Configuration == null)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user