From fd116c9682def1f4b95b95d2c6c546b17ca991c3 Mon Sep 17 00:00:00 2001 From: Tobias Sprodowski Date: Tue, 13 Apr 2021 14:23:58 +0200 Subject: [PATCH] changelog --- CHANGELOG.md | 1 + include/storage/shared_monitor.hpp | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) 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;