Skip to content

Commit da2895b

Browse files
committed
Rewrite invoke
1 parent 7b5fede commit da2895b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shared/util/src/commonMain/kotlin/app/futured/kmptemplate/util/domain/scope/SingleUseCaseExecutionScope.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ interface SingleUseCaseExecutionScope : CoroutineScopeOwner {
5858
// do nothing - this is normal way of suspend function interruption
5959
} catch (error: Throwable) {
6060
UseCaseErrorHandler.globalOnErrorLogger(error)
61-
useCaseConfig.onError.invoke(error)
61+
useCaseConfig.onError(error)
6262
}
6363
}
6464
}

0 commit comments

Comments
 (0)