Skip to content

Commit 8ec9cc8

Browse files
committed
Fixed uncaught exception error
1 parent 5b2927c commit 8ec9cc8

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
@@ -308,7 +308,7 @@ class TTopicSession : public TActorBootstrapped<TTopicSession> {
308308
ExceptionFunc(std::exception, HandleException)
309309
)
310310

311-
STRICT_STFUNC(ErrorState, {
311+
STRICT_STFUNC_EXC(ErrorState,
312312
cFunc(NActors::TEvents::TEvPoisonPill::EventType, PassAway);
313313
IgnoreFunc(NFq::TEvPrivate::TEvPqEventsReady);
314314
IgnoreFunc(NFq::TEvPrivate::TEvCreateSession);
@@ -319,8 +319,9 @@ class TTopicSession : public TActorBootstrapped<TTopicSession> {
319319
IgnoreFunc(NFq::TEvRowDispatcher::TEvStartSession);
320320
IgnoreFunc(NFq::TEvRowDispatcher::TEvStopSession);
321321
IgnoreFunc(NFq::TEvPrivate::TEvSendStatisticToRowDispatcher);
322-
IgnoreFunc(TEvRowDispatcher::TEvPurecalcCompileResponse);
323-
})
322+
IgnoreFunc(TEvRowDispatcher::TEvPurecalcCompileResponse);,
323+
ExceptionFunc(std::exception, HandleException)
324+
)
324325
};
325326

326327
TTopicSession::TTopicSession(

0 commit comments

Comments
 (0)