]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1349] addressed comments
authorRazvan Becheriu <razvan@isc.org>
Thu, 30 Jul 2020 09:35:24 +0000 (12:35 +0300)
committerRazvan Becheriu <razvan@isc.org>
Mon, 3 Aug 2020 11:40:20 +0000 (11:40 +0000)
src/hooks/dhcp/lease_cmds/lease_cmds.cc

index 0cc57d6c201842baac084e2672349ed38ad4054f..e12ebf73e1477bed63e5ba6e2fec66e096924a4c 100644 (file)
@@ -881,7 +881,7 @@ LeaseCmdsImpl::leaseGetPageHandler(CalloutHandle& handle) {
                          s.str(), args);
         setResponse(handle, response);
 
-    } catch (std::exception& ex) {
+    } catch (const std::exception& ex) {
         setErrorResponse(handle, ex.what());
         return (CONTROL_RESULT_ERROR);
     }