@@ -432,17 +432,17 @@ class TLoadActor : public TActorBootstrapped<TLoadActor> {
432
432
}
433
433
434
434
void Handle (TEvLoad::TEvLoadTestRequest::TPtr& ev) {
435
- ui32 status = NMsgBusProxy::MSTATUS_OK;
436
- TString error;
437
435
const auto & record = GetFixedRequest (ev);
438
- Y_ENSURE (!RequestSender.contains (record.GetTag ()),
439
- " node is currently handling another request with tag# " << record.GetTag ());
440
- RequestSender[record.GetTag ()] = ev->Sender ;
441
- UuidByTag[record.GetTag ()] = record.GetUuid ();
442
436
LOG_N (" Load test request arrived from " << ev->Sender .ToString () <<
443
437
" : tag# " << record.GetTag () <<
444
438
" , uuid# " << record.GetUuid ());
439
+ ui32 status = NMsgBusProxy::MSTATUS_OK;
440
+ TString error;
445
441
try {
442
+ Y_ENSURE (!RequestSender.contains (record.GetTag ()),
443
+ " node is currently handling another request with tag# " << record.GetTag ());
444
+ RequestSender[record.GetTag ()] = ev->Sender ;
445
+ UuidByTag[record.GetTag ()] = record.GetUuid ();
446
446
ProcessCmd (record);
447
447
} catch (const TLoadActorException& ex) {
448
448
LOG_E (" Exception while creating load actor, what# " << ex.what ());
@@ -1060,7 +1060,7 @@ class TLoadActor : public TActorBootstrapped<TLoadActor> {
1060
1060
if (result.status == "ok") {
1061
1061
updateStatus(
1062
1062
"text-success",
1063
- "Started : UUID# " + result.uuid + ", node tag# " + result.tag + ", status# " + result.status
1063
+ "Starting : UUID# " + result.uuid + ", node tag# " + result.tag + ", status# " + result.status
1064
1064
);
1065
1065
} else {
1066
1066
updateStatus(
0 commit comments