stacktraceToString

Deprecated

Use standard kotlin implementation stackTraceToString available since kotlin 1.4.

Replace with

stackTraceToString()

Converts stacktrace to the string. Uses Throwable.printStackTrace and returns it as string.