Kaydet (Commit) 6f0ddddf authored tarafından Stephan Bergmann's avatar Stephan Bergmann

Improve debug output

Change-Id: Ic7fee2d0ca95279d9809161a7f39480727b070e3
üst 4e653d15
......@@ -115,8 +115,11 @@ inline bool JNI_context::assert_no_exception() const
{
if (JNI_FALSE != m_env->ExceptionCheck())
{
SAL_WARN("bridges", "unexpected java exception occurred");
#if OSL_DEBUG_LEVEL > 0
m_env->ExceptionDescribe();
#endif
m_env->ExceptionClear();
OSL_FAIL( "unexpected java exception occurred!" );
return false;
}
return true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment