diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2024-03-26 20:04:51 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2024-03-26 20:04:51 +0300 |
commit | 384d90c19758e5433aa3f7714d4531936b83fab0 (patch) | |
tree | 9ae6c648b3632b60fd386cbcb913c9879dc4ef12 | |
parent | acc3ef398c456c9157443200d42f11e4668fc646 (diff) |
Fix worker to properly handle cli parser exceptions while parsing task manifest package-config value
-rw-r--r-- | bbot/worker/worker.cxx | 5 |
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 */); |