Skip to content

Commit 17b0818

Browse files
hgfell683aishwariya15
authored andcommitted
XIONE-14703, ES1-1645 - WPEFramework crash
Reason for change: Handling unhandled exceptions Test Procedure: None Risks: Low Priority: P1 Signed-off-by:Hayden Gfeller <[email protected]>
1 parent e4ae4ac commit 17b0818

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

HdmiCecSink/HdmiCecSink.cpp

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2746,18 +2746,15 @@ namespace WPEFramework
27462746
_instance->m_pollThreadState = POLL_THREAD_STATE_PING;
27472747
}
27482748
catch(InvalidStateException &e){
2749-
LOGWARN("InvalidStateException caught in LibCCEC::getInstance().addLogicalAddress() %s", e.what());
2750-
LOGINFO("Not able allocate Logical Address for TV");
2749+
LOGWARN("InvalidStateException caught while allocated logical address. %s", e.what());
27512750
_instance->m_pollThreadState = POLL_THREAD_STATE_EXIT;
27522751
}
27532752
catch(IOException &e){
2754-
LOGWARN("IOException caught in LibCCEC::getInstance().addLogicalAddress() %s", e.what());
2755-
LOGINFO("Not able allocate Logical Address for TV");
2753+
LOGWARN("IOException caught while allocated logical address. %s", e.what());
27562754
_instance->m_pollThreadState = POLL_THREAD_STATE_EXIT;
27572755
}
27582756
catch(...){
2759-
LOGWARN("Exception caught in LibCCEC::getInstance().addLogicalAddress()");
2760-
LOGINFO("Not able allocate Logical Address for TV");
2757+
LOGWARN("Exception caught while allocated logical address.");
27612758
_instance->m_pollThreadState = POLL_THREAD_STATE_EXIT;
27622759
}
27632760
}

0 commit comments

Comments
 (0)