public void logException ( Thread thread , Throwable throwable ) { String logMessage ; String errorCode = extractErrorCode ( throwable ) ; if ( errorCode != null ) { logMessage = "Uncaught throwable handled with errorCode (" + errorCode + ")." ; } else { logMessage = "Uncaught throwable handled." ; } doLogException ( logMessage , throwable ) ; }
Log an exception