Fix: Ordermanager will not try to remake orders from er after restart
This commit is contained in:
1 parent
4e2c5f2d17
commit
6b59dd84ee
1 file changed
+3
-2
@@ -271,13 +271,14 @@ void OrderManager::on_execution_report(
|
||||
if (it == me->orders.end()) {
|
||||
LOG(OrderMan, Error,
|
||||
"Received an execution report for an unknown order with key "
|
||||
"{}. Order state will be reconstructed from this report but "
|
||||
"{}. Order state USED TO be reconstructed from this report but "
|
||||
"some "
|
||||
"information will be lost, including CustomerOrFirm,CTI "
|
||||
"code "
|
||||
"and "
|
||||
"parent order id",
|
||||
"parent order id but now these are IGNORED",
|
||||
k.value());
|
||||
continue;
|
||||
auto order =
|
||||
&me->services_data.order_factory.recreate_from_exe_report(
|
||||
*report.data);
|
||||
|
||||
Reference in new issue
Block a user