mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-06-26 10:54:26 +02:00
TW-253
- Added details in debug mode, for unrecognized data (thanks to Kosta H). Note: does not close TW-253.
This commit is contained in:
parent
3786e58b88
commit
9d33691cab
2 changed files with 6 additions and 0 deletions
|
@ -66,6 +66,7 @@
|
|||
Sulfrian).
|
||||
- Added certificate hostname verification (thanks to Alexander Sulfrian).
|
||||
- Removed debugging code.
|
||||
- Added details in debug mode, for unrecognized data (thanks to Kosta H).
|
||||
|
||||
------ current release ---------------------------
|
||||
|
||||
|
|
|
@ -854,6 +854,11 @@ void Task::parseLegacy (const std::string& line)
|
|||
break;
|
||||
|
||||
default:
|
||||
std::stringstream message;
|
||||
message << "Invalid fileformat at line '"
|
||||
<< line
|
||||
<< "'";
|
||||
context.debug (message.str());
|
||||
throw std::string (STRING_TASK_PARSE_UNREC_FF);
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue