mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-29 21:18:02 +00:00
[4307] Fixed CID 1202702
This commit is contained in:
parent
cac9c6712f
commit
b51ce48059
@ -1,4 +1,4 @@
|
|||||||
// Copyright (C) 2011-2015 Internet Systems Consortium, Inc. ("ISC")
|
// Copyright (C) 2011-2016 Internet Systems Consortium, Inc. ("ISC")
|
||||||
//
|
//
|
||||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||||
@ -559,7 +559,11 @@ main(int argc, char* argv[]) {
|
|||||||
// Format with arguments
|
// Format with arguments
|
||||||
vector<string> args(e.arguments());
|
vector<string> args(e.arguments());
|
||||||
for (size_t i(0); i < args.size(); ++ i) {
|
for (size_t i(0); i < args.size(); ++ i) {
|
||||||
replacePlaceholder(&text, args[i], i + 1);
|
try {
|
||||||
|
replacePlaceholder(&text, args[i], i + 1);
|
||||||
|
} catch (...) {
|
||||||
|
// Error in error handling: nothing right to do...
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
cerr << text << "\n";
|
cerr << text << "\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user