ignoreException

fun ignoreException(silent: Boolean = false, inner: () -> Unit)(source)

Wraps and discards exceptions, optionally logging them.