Skip to content

Commit 3e10c30

Browse files
committed
up
1 parent 57c3561 commit 3e10c30

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

kbe/src/server/baseapp/baseapp.cpp

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5402,7 +5402,8 @@ void Baseapp::reqAccountBindEmail(Network::Channel* pChannel, ENTITY_ID entityID
54025402
PyObject* py__ACCOUNT_NAME__ = PyObject_GetAttrString(pEntity, "__ACCOUNT_NAME__");
54035403
if(py__ACCOUNT_NAME__ == NULL)
54045404
{
5405-
DEBUG_MSG(fmt::format("Baseapp::reqAccountBindEmail: entity({}) __ACCOUNT_NAME__ is NULL\n", entityID));
5405+
DEBUG_MSG(fmt::format("Baseapp::reqAccountBindEmail: {}({}) not found __ACCOUNT_NAME__!\n", pEntity->scriptName(), entityID));
5406+
PyErr_Clear();
54065407
return;
54075408
}
54085409

@@ -5417,7 +5418,7 @@ void Baseapp::reqAccountBindEmail(Network::Channel* pChannel, ENTITY_ID entityID
54175418

54185419
if(accountName.size() == 0)
54195420
{
5420-
DEBUG_MSG(fmt::format("Baseapp::reqAccountBindEmail: entity({}) __ACCOUNT_NAME__ is NULL\n", entityID));
5421+
DEBUG_MSG(fmt::format("Baseapp::reqAccountBindEmail: {}({}) __ACCOUNT_NAME__ is NULL!\n", pEntity->scriptName(), entityID));
54215422
return;
54225423
}
54235424

@@ -5547,7 +5548,8 @@ void Baseapp::reqAccountNewPassword(Network::Channel* pChannel, ENTITY_ID entity
55475548
PyObject* py__ACCOUNT_NAME__ = PyObject_GetAttrString(pEntity, "__ACCOUNT_NAME__");
55485549
if(py__ACCOUNT_NAME__ == NULL)
55495550
{
5550-
DEBUG_MSG(fmt::format("Baseapp::reqAccountNewPassword: entity({}) __ACCOUNT_NAME__ is NULL\n", entityID));
5551+
DEBUG_MSG(fmt::format("Baseapp::reqAccountNewPassword: {}({}) not found __ACCOUNT_NAME__!\n", pEntity->scriptName(), entityID));
5552+
PyErr_Clear();
55515553
return;
55525554
}
55535555

@@ -5562,7 +5564,7 @@ void Baseapp::reqAccountNewPassword(Network::Channel* pChannel, ENTITY_ID entity
55625564

55635565
if(accountName.size() == 0)
55645566
{
5565-
DEBUG_MSG(fmt::format("Baseapp::reqAccountNewPassword: entity({}) __ACCOUNT_NAME__ is NULL\n", entityID));
5567+
DEBUG_MSG(fmt::format("Baseapp::reqAccountNewPassword: {}({}) __ACCOUNT_NAME__ is NULL!\n", pEntity->scriptName(), entityID));
55665568
return;
55675569
}
55685570

0 commit comments

Comments
 (0)