Skip to content

Commit bb2bab2

Browse files
SebastianOsinskikzaher
authored andcommitted
Fix typo in fatal error message
1 parent 1a5a4f9 commit bb2bab2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

RxSwift/Schedulers/MainScheduler.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public final class MainScheduler : SerialDispatchQueueScheduler {
4040
/// In case this method is called on a background thread it will throw an exception.
4141
public class func ensureExecutingOnScheduler(errorMessage: String? = nil) {
4242
if !DispatchQueue.isMain {
43-
rxFatalError(errorMessage ?? "Executing on backgound thread. Please use `MainScheduler.instance.schedule` to schedule work on main thread.")
43+
rxFatalError(errorMessage ?? "Executing on background thread. Please use `MainScheduler.instance.schedule` to schedule work on main thread.")
4444
}
4545
}
4646

0 commit comments

Comments
 (0)