From 996d440a9bd8eb9e494afc73775d531f7d1ceda8 Mon Sep 17 00:00:00 2001 From: Takekatsu Hiramura Date: Sat, 9 Mar 2024 15:12:08 +0900 Subject: [PATCH] Revert "avoid crash in receiveRequest" --- lib/src/ua.dart | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lib/src/ua.dart b/lib/src/ua.dart index fb2ff348..581a6ee8 100644 --- a/lib/src/ua.dart +++ b/lib/src/ua.dart @@ -733,11 +733,7 @@ class UA extends EventManager { _findDialog(request.call_id!, request.from_tag!, request.to_tag!); if (dialog != null) { - try { - dialog.receiveRequest(request); - } catch (e) { - logger.e('Error: failed to handle request. ${e.toString()}'); - } + dialog.receiveRequest(request); } else if (method == SipMethod.NOTIFY) { Subscriber? sub = _findSubscriber( request.call_id!, request.from_tag!, request.to_tag!);