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; }