diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f9007696..ed542e267 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ - FIXED: `valid` type in documentation examples [#5990](https://github.com/Project-OSRM/osrm-backend/issues/5990) - Profile: - FIXED: Add kerb barrier exception to default car profile. [#5999](https://github.com/Project-OSRM/osrm-backend/pull/5999) + - ADDED: output messages for shared memory block creation of Boost - catch exceptions and give reasonable error messages # 5.24.0 - Changes from 5.23.0 diff --git a/include/storage/shared_monitor.hpp b/include/storage/shared_monitor.hpp index 9847b1690..28016438a 100644 --- a/include/storage/shared_monitor.hpp +++ b/include/storage/shared_monitor.hpp @@ -48,8 +48,8 @@ template struct SharedMonitor } catch (const bi::interprocess_exception &exception) { - auto message = boost::format("could not create directory or file '%1%' \n") % - exception.what(); + auto message = + boost::format("could not create directory or file '%1%' \n") % exception.what(); throw util::exception(message.str() + SOURCE_REF); } @@ -135,8 +135,8 @@ template struct SharedMonitor } catch (const bi::interprocess_exception &exception) { - auto message = boost::format("could not create directory or file '%1%' \n") % - exception.what(); + auto message = + boost::format("could not create directory or file '%1%' \n") % exception.what(); throw util::exception(message.str() + SOURCE_REF); } return true;