From b6ca326707bdf11be0809235136a89ca286510fc Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 11 May 2014 10:20:17 -0400 Subject: [PATCH] TW-1320 - TW-1320 Provide output of malformed row if invalid Taskwarrior file format (thanks to Kost Harlan). --- ChangeLog | 2 ++ src/Task.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index a2c8dfb3f..599fba955 100644 --- a/ChangeLog +++ b/ChangeLog @@ -54,6 +54,8 @@ Onion). - TW-1318 creating a UDA in the wrong sequence will cripple taskwarrior (thanks to Onion). +- TW-1320 Provide output of malformed row if invalid Taskwarrior file format + (thanks to Kost Harlan). - Removed deprecated 'echo.command' setting, in favor of the 'header' and 'affected' verbosity tokens. - Removed deprecated 'edit.verbose' setting, in favor of the 'edit' verbosity diff --git a/src/Task.cpp b/src/Task.cpp index faed352b7..0f6f77c46 100644 --- a/src/Task.cpp +++ b/src/Task.cpp @@ -858,7 +858,7 @@ void Task::parseLegacy (const std::string& line) message << "Invalid fileformat at line '" << line << "'"; - context.debug (message.str()); + context.debug (message.str ()); throw std::string (STRING_TASK_PARSE_UNREC_FF); break; }