throwing

open fun <T : Throwable> throwing(throwable: T): T

Add a log message indicating an exception will be thrown along with the stack trace.

Return

The throwable

Parameters

throwable

The throwable to log