ice native order
This commit is contained in:
1 parent
96265ea187
commit
5969568dee
1 file changed
+5
-9
@@ -141,13 +141,11 @@ void ICENativeOrder::on_init_recovered(const OrderRecord& rec, const PreActivati
|
||||
if (!me->sec)
|
||||
{
|
||||
LOG(OrderMan, Error,
|
||||
"Unknown security {} referenced by recovered "
|
||||
"order {}. This is a serious "
|
||||
"Unknown security {} referenced by recovered order {}. This is a serious "
|
||||
"problem which has to be corrected manually. ",
|
||||
def.security_key(), rec.key());
|
||||
transition_to_error(
|
||||
NativeOrderState::SUB_ERROR_UNKNOWN_SECURITY,
|
||||
fmt::format("Unknown security: {}", def.security_key()));
|
||||
transition_to_error(NativeOrderState::SUB_ERROR_UNKNOWN_SECURITY,
|
||||
fmt::format("Unknown security: {}", def.security_key()));
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -156,8 +154,7 @@ void ICENativeOrder::on_init_recovered(const OrderRecord& rec, const PreActivati
|
||||
if (!serv.order_router.is_valid_session(session))
|
||||
{
|
||||
LOG(OrderMan, Error,
|
||||
"Unknown JetFIX session {} referenced by recovered "
|
||||
"order {}. This is a serious "
|
||||
"Unknown JetFIX session {} referenced by recovered order {}. This is a serious "
|
||||
"problem which has to be corrected manually. ",
|
||||
session, rec.key());
|
||||
transition_to_error(NativeOrderState::SUB_ERROR_UNKNOWN_FIX_SESSION,
|
||||
@@ -218,8 +215,7 @@ ICENativeOrder::on_init_from_exe_report(const ExecutionReport& er, const PreActi
|
||||
else
|
||||
{
|
||||
LOG(OrderMan, Error,
|
||||
"Could not recover account and user information from order {}"
|
||||
". The following information is available: {}. ",
|
||||
"Could not recover account and user information from order {}. The following information is available: {}. ",
|
||||
k.value(), rev_rec.error_msg);
|
||||
def.set_user("");
|
||||
def.set_user_id(0);
|
||||
|
||||
Reference in new issue
Block a user