Skip to content

Commit fd64b6c

Browse files
committed
YQ-3955 RD fixed uncaught exception error (ydb-platform#12465)
1 parent 6767a9e commit fd64b6c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ydb/core/fq/libs/row_dispatcher/topic_session.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -312,16 +312,17 @@ class TTopicSession : public TActorBootstrapped<TTopicSession> {
312312
ExceptionFunc(std::exception, HandleException)
313313
)
314314

315-
STRICT_STFUNC(ErrorState, {
315+
STRICT_STFUNC_EXC(ErrorState,
316316
cFunc(TEvents::TEvPoisonPill::EventType, PassAway);
317317
IgnoreFunc(NFq::TEvPrivate::TEvPqEventsReady);
318318
IgnoreFunc(NFq::TEvPrivate::TEvCreateSession);
319319
IgnoreFunc(NFq::TEvPrivate::TEvSendStatisticToReadActor);
320320
IgnoreFunc(TEvRowDispatcher::TEvGetNextBatch);
321321
IgnoreFunc(NFq::TEvRowDispatcher::TEvStartSession);
322322
IgnoreFunc(NFq::TEvRowDispatcher::TEvStopSession);
323-
IgnoreFunc(NFq::TEvPrivate::TEvSendStatisticToRowDispatcher);
324-
})
323+
IgnoreFunc(NFq::TEvPrivate::TEvSendStatisticToRowDispatcher);,
324+
ExceptionFunc(std::exception, HandleException)
325+
)
325326
};
326327

327328
TTopicSession::TTopicSession(

0 commit comments

Comments
 (0)