From c112be4a896a5b937883f0a6cd2ac9a2e71e15cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niklas=20W=C3=BCnsche?= Date: Mon, 15 Nov 2021 09:07:32 +0000 Subject: [PATCH] Add missing indent to error message (#3022) --- reactive/kotlinx-coroutines-rx2/src/RxCompletable.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactive/kotlinx-coroutines-rx2/src/RxCompletable.kt b/reactive/kotlinx-coroutines-rx2/src/RxCompletable.kt index 3f9153822b..e4670f3579 100644 --- a/reactive/kotlinx-coroutines-rx2/src/RxCompletable.kt +++ b/reactive/kotlinx-coroutines-rx2/src/RxCompletable.kt @@ -20,7 +20,7 @@ public fun rxCompletable( context: CoroutineContext = EmptyCoroutineContext, block: suspend CoroutineScope.() -> Unit ): Completable { - require(context[Job] === null) { "Completable context cannot contain job in it." + + require(context[Job] === null) { "Completable context cannot contain job in it. " + "Its lifecycle should be managed via Disposable handle. Had $context" } return rxCompletableInternal(GlobalScope, context, block) }