protected void registerLoggedException ( Throwable exception ) { SpringBootExceptionHandler handler = getSpringBootExceptionHandler ( ) ; if ( handler != null ) { handler . registerLoggedException ( exception ) ; } }
Register that the given exception has been logged . By default if the running in the main thread this method will suppress additional printing of the stacktrace .