Skip to content

Commit e655390

Browse files
committed
fix: timestamp for Message::Type::SESSION_CONNECTION_UP in market making app
1 parent 50bed0f commit e655390

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

app/include/app/event_handler_base.h

+1-4
Original file line numberDiff line numberDiff line change
@@ -525,10 +525,7 @@ class EventHandlerBase : public EventHandler {
525525
const auto& messageTimeReceived = firstMessage.getTimeReceived();
526526
const auto& messageTimeReceivedISO = UtilTime::getISOTimestamp(messageTimeReceived);
527527
if (firstMessage.getType() == Message::Type::RESPONSE_ERROR) {
528-
APP_LOGGER_ERROR(message.toStringPretty() + ".");
529-
for (const auto& element : firstMessage.getElementList()) {
530-
APP_LOGGER_ERROR(element.getValue(CCAPI_ERROR_MESSAGE) + ".");
531-
}
528+
APP_LOGGER_ERROR(event.toStringPretty() + ".");
532529
}
533530
if (std::find(correlationIdList.begin(), correlationIdList.end(), std::string("CREATE_ORDER_") + CCAPI_EM_ORDER_SIDE_BUY) != correlationIdList.end() ||
534531
std::find(correlationIdList.begin(), correlationIdList.end(), std::string("CREATE_ORDER_") + CCAPI_EM_ORDER_SIDE_SELL) != correlationIdList.end() ||

0 commit comments

Comments
 (0)