[bindNext] Change error message to "Binding error: \(error)"

This commit is contained in:
Thane Gill 2016-01-27 11:26:52 -08:00
parent cf06a20750
commit 8aba766224
1 changed files with 2 additions and 2 deletions

View File

@ -96,7 +96,7 @@ extension ObservableType {
@warn_unused_result(message="http://git.io/rxs.ud")
public func bindNext(onNext: E -> Void) -> Disposable {
return subscribe(onNext: onNext, onError: { error in
let error = "Binding error to variable: \(error)"
let error = "Binding error: \(error)"
#if DEBUG
rxFatalError(error)
#else
@ -104,4 +104,4 @@ extension ObservableType {
#endif
})
}
}
}