mirror of
https://github.com/GothenburgBitFactory/timewarrior.git
synced 2025-07-07 20:06:39 +02:00
validate: Added debug info
This commit is contained in:
parent
9a63db6c60
commit
5528ce8358
1 changed files with 3 additions and 3 deletions
|
@ -102,13 +102,13 @@ static void autoAdjust (
|
|||
{
|
||||
if (interval.range.overlap (track.range))
|
||||
{
|
||||
debug ("Input " + interval.dump ());
|
||||
debug ("Overlaps with " + track.dump ());
|
||||
|
||||
if (! adjust)
|
||||
throw std::string ("You cannot overlap intervals. Adjust the start/end "
|
||||
"time, or specify the :adjust hint.");
|
||||
|
||||
std::cout << "# Overlap new " << interval.dump () << "\n"
|
||||
<< "# existing " << track.dump () << "\n";
|
||||
|
||||
if (interval.range.start <= track.range.start)
|
||||
{
|
||||
// interval [--------)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue