subscribeLogging

inline fun <T> Flow<T>.subscribeLogging(scope: CoroutineScope, noinline errorMessageBuilder: T.(Throwable) -> Any = { "Something web wrong" }, logger: KSLog = KSLog, noinline block: suspend (T) -> Unit): Job(source)

Use subscribe, but all blocks will be called inside of safely function. Use onException to set up your reaction for Throwables