mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 04:27:20 +02:00
ColDepends: Allow specifying short(er) UUIDs
This commit is contained in:
parent
01add8a34a
commit
3a00956144
3 changed files with 30 additions and 3 deletions
|
@ -29,6 +29,7 @@
|
|||
#include <new>
|
||||
#include <cstring>
|
||||
#include <Context.h>
|
||||
#include <regex>
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
int main (int argc, const char** argv)
|
||||
|
@ -64,6 +65,11 @@ int main (int argc, const char** argv)
|
|||
status = -3;
|
||||
}
|
||||
|
||||
catch (const std::regex_error& e)
|
||||
{
|
||||
std::cout << "regex_error caught: " << e.what() << '\n';
|
||||
}
|
||||
|
||||
catch (...)
|
||||
{
|
||||
std::cerr << "Unknown error. Please report.\n";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue