Since we throw assert at callback if FD_ERROR occured,
we should print error logs before execute callback.
Change-Id: I8f498b020e0f9da505b6ca8847c953b0d2e7d280
Signed-off-by: Eunki Hong <eunkiki.hong@samsung.com>
if(ecore_main_fd_handler_active_get(handler, ECORE_FD_ERROR))
{
- CallbackBase::Execute(*impl->mCallback, FileDescriptorMonitor::FD_ERROR, impl->mFileDescriptor);
DALI_LOG_ERROR("ECORE_FD_ERROR occurred on %d\n", impl->mFileDescriptor);
+ CallbackBase::Execute(*impl->mCallback, FileDescriptorMonitor::FD_ERROR, impl->mFileDescriptor);
return ECORE_CALLBACK_CANCEL;
}