- TW-1298 The color 'orange' is not recognized. - taskwarrior will not start
          anymore (thanks to Bernd Humpa).
This commit is contained in:
Paul Beckingham 2014-04-15 23:37:05 -04:00
parent c03df08d1e
commit 2aa224d278
3 changed files with 39 additions and 28 deletions

View file

@ -207,3 +207,4 @@ suggestions:
Michele Vetturi Michele Vetturi
Jeremiah Marks Jeremiah Marks
Profpatsch Profpatsch
Bernd Humpa

View file

@ -42,6 +42,8 @@
Wilk). Wilk).
- TW-1296 make test/run_all exit with non-zero code if a test fail (thanks to - TW-1296 make test/run_all exit with non-zero code if a test fail (thanks to
Jakub Wilk). Jakub Wilk).
- TW-1298 The color 'orange' is not recognized. - taskwarrior will not start
anymore (thanks to Bernd Humpa).
- TW-1300 _get could use return codes (thanks to Scott Kostyshak). - TW-1300 _get could use return codes (thanks to Scott Kostyshak).
- TW-1301 Virtual tag +PENDING (thanks to Profpatsch). - TW-1301 Virtual tag +PENDING (thanks to Profpatsch).
- TW-1302 CmdShow.cpp:244: bad length in substr ? (thanks to David Binderman). - TW-1302 CmdShow.cpp:244: bad length in substr ? (thanks to David Binderman).

View file

@ -41,6 +41,8 @@ static Date now;
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////
void initializeColorRules () void initializeColorRules ()
{ {
try
{
gsColor.clear (); gsColor.clear ();
gsPrecedence.clear (); gsPrecedence.clear ();
@ -76,6 +78,12 @@ void initializeColorRules ()
for (r = results.begin (); r != results.end (); ++r) for (r = results.begin (); r != results.end (); ++r)
gsPrecedence.push_back (*r); gsPrecedence.push_back (*r);
} }
}
catch (const std::string& e)
{
context.error (e);
}
} }
//////////////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////////////