From b6d9c949ae6b138acc1273d16d97e6a7cb3bf585 Mon Sep 17 00:00:00 2001 From: Alexey Rybalchenko Date: Tue, 14 Jan 2020 12:11:02 +0100 Subject: [PATCH] Fix CID 350448 (uncaught exception) --- fairmq/shmem/Monitor.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fairmq/shmem/Monitor.cxx b/fairmq/shmem/Monitor.cxx index 8b63c7c5..f62d76a9 100644 --- a/fairmq/shmem/Monitor.cxx +++ b/fairmq/shmem/Monitor.cxx @@ -463,6 +463,8 @@ void Monitor::Cleanup(const string& shmId) RemoveObject(managementSegmentName.c_str()); } catch (bie&) { cout << "Did not find '" << managementSegmentName << "' shared memory segment. No regions to cleanup." << endl; + } catch(std::out_of_range& oor) { + cout << "Could not locate element in the region map, out of range: " << oor.what() << endl; } RemoveObject("fmq_" + shmId + "_main");