Log start_time when its > Now

This commit is contained in:
Isaac Connor 2018-04-30 10:12:34 -04:00
parent f61bdcd118
commit e55846e716
1 changed files with 3 additions and 1 deletions

View File

@ -69,7 +69,9 @@ Event::Event(
untimedEvent = true;
start_time = now;
} else if ( start_time.tv_sec > now.tv_sec ) {
Error("StartTime in the future");
Error("StartTime in the future %d.%d > $d.%d",
start_time.tv_sec, start_time.tv_usec, now.tv_sec, now.tv_usec
);
start_time = now;
}