Mercurial > hg > orthanc-stone
diff Framework/Messages/ObserverBase.h @ 1067:05b2e71ed145 broker
removed MessageForwarder, unit tests are ok
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 15 Oct 2019 18:11:40 +0200 |
parents | 9d42f89b8c3c |
children | 0ca50d275b9a |
line wrap: on
line diff
--- a/Framework/Messages/ObserverBase.h Tue Oct 15 15:39:39 2019 +0200 +++ b/Framework/Messages/ObserverBase.h Tue Oct 15 18:11:40 2019 +0200 @@ -45,8 +45,10 @@ } catch (boost::bad_weak_ptr&) { - throw Orthanc::OrthancException(Orthanc::ErrorCode_InternalError, - "Cannot get a shared pointer to an observer from a constructor"); + throw Orthanc::OrthancException( + Orthanc::ErrorCode_InternalError, + "Cannot get a shared pointer to an observer from its constructor, " + "or the observer is not created as a shared pointer"); } }