aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-03-26 20:04:51 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-03-26 20:04:51 +0300
commit384d90c19758e5433aa3f7714d4531936b83fab0 (patch)
tree9ae6c648b3632b60fd386cbcb913c9879dc4ef12
parentacc3ef398c456c9157443200d42f11e4668fc646 (diff)
Fix worker to properly handle cli parser exceptions while parsing task manifest package-config value
-rw-r--r--bbot/worker/worker.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/bbot/worker/worker.cxx b/bbot/worker/worker.cxx
index 5f857b0..793b387 100644
--- a/bbot/worker/worker.cxx
+++ b/bbot/worker/worker.cxx
@@ -1814,6 +1814,11 @@ build (size_t argc, const char* argv[])
}
}
}
+ catch (const cli::exception& e)
+ {
+ fail (e.what (), false /* throw_abort */);
+ break;
+ }
catch (const string_parser::invalid_string& e)
{
fail (e.what (), false /* throw_abort */);