From 311d970f8c74f364f2eacf788d0d4e31784a08f7 Mon Sep 17 00:00:00 2001 From: "darpan.ka" Date: Mon, 8 Apr 2013 13:59:42 +0530 Subject: [PATCH] GetErrorMessage() to print the error log Change-Id: I1e30d81012f53d4e36d7af1f170653154857c2e4 Signed-off-by: darpan.ka --- src/base/runtime/FBaseRt_EventDrivenThreadEvent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/base/runtime/FBaseRt_EventDrivenThreadEvent.cpp b/src/base/runtime/FBaseRt_EventDrivenThreadEvent.cpp index 72e887f..c64084d 100644 --- a/src/base/runtime/FBaseRt_EventDrivenThreadEvent.cpp +++ b/src/base/runtime/FBaseRt_EventDrivenThreadEvent.cpp @@ -67,7 +67,7 @@ _EventDrivenThreadEvent::FireImpl(IEventListener& listener, const IEventArg& arg const _EventDrivenThreadEventArg* pEventDrivenThreadEventArg = dynamic_cast (&arg); SysTryReturnVoidResult(NID_BASE_RT, pEventDrivenThreadEventListener != null && pEventDrivenThreadEventArg != null, E_INVALID_ARG, "[%s] listener or agr is null.", - E_INVALID_ARG); + GetErrorMessage(E_INVALID_ARG)); if (pEventDrivenThreadEventArg->GetType() == EVENT_DRIVEN_THREAD_EVENT_TYPE_USER_EVENT) { -- 2.7.4