Mercurial > hg > orthanc-stone
comparison Framework/Loaders/LoaderStateMachine.cpp @ 1135:a0a33e5ea5bb broker
IOracleCommand::Clone()
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 06 Nov 2019 17:34:58 +0100 |
parents | 87fbeb823375 |
children |
comparison
equal
deleted
inserted
replaced
1134:87fbeb823375 | 1135:a0a33e5ea5bb |
---|---|
142 } | 142 } |
143 else { | 143 else { |
144 activeCommands_--; | 144 activeCommands_--; |
145 try | 145 try |
146 { | 146 { |
147 dynamic_cast<State&>(message.GetCommand().GetPayload()).Handle(message); | 147 dynamic_cast<State&>(message.GetOrigin().GetPayload()).Handle(message); |
148 Step(); | 148 Step(); |
149 } | 149 } |
150 catch (Orthanc::OrthancException& e) | 150 catch (Orthanc::OrthancException& e) |
151 { | 151 { |
152 LOG(ERROR) << "Error in the state machine, stopping all processing: " << | 152 LOG(ERROR) << "Error in the state machine, stopping all processing: " << |