2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 14:05:33 +00:00

[4307] Fixed CID 1202718, 1202719 and 1292720fg

This commit is contained in:
Francis Dupont
2016-02-23 23:15:09 +01:00
parent b51ce48059
commit 04079bcd80

View File

@@ -1,4 +1,4 @@
// Copyright (C) 2012-2015 Internet Systems Consortium, Inc. ("ISC")
// Copyright (C) 2012-2016 Internet Systems Consortium, Inc. ("ISC")
//
// 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
@@ -44,7 +44,7 @@ main(int argc, char* argv[]) {
try{
TestControl& test_control = TestControl::instance();
ret_code = test_control.run();
} catch (isc::Exception& e) {
} catch (std::exception& e) {
ret_code = 1;
std::cerr << "Error running perfdhcp: " << e.what() << std::endl;
if (diags.find('e') != std::string::npos) {