diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2019-09-13 14:53:44 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2019-09-26 17:14:22 +0300 |
commit | 0b61b4207fb3c00860f8ef4d4b86e31cdc90c09d (patch) | |
tree | 36f9c84bf8ae5d580a563c9e74001b6ddf384bc4 /bdep/new.cxx | |
parent | 865f01bbf9e1e3b2fd2aae3c6cd4d4002adc928d (diff) |
Adapt to builtins support added to command run API
Diffstat (limited to 'bdep/new.cxx')
-rw-r--r-- | bdep/new.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bdep/new.cxx b/bdep/new.cxx index 681cc18..23bc4bc 100644 --- a/bdep/new.cxx +++ b/bdep/new.cxx @@ -661,7 +661,9 @@ namespace bdep fail << "unable to execute " << what << " hook '" << cmd << "': " << e; } - catch (const process_error& e) + // Also handles process_error exception (derived from system_error). + // + catch (const system_error& e) { fail << "unable to execute " << what << " hook '" << cmd << "': " << e; |