File tree Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Expand file tree Collapse file tree 2 files changed +1
-13
lines changed Original file line number Diff line number Diff line change 1
1
import { noop } from './util/noop' ;
2
2
import { throwError } from './util/throwError' ;
3
- import { tryOrOnError } from './util/tryOrOnError' ;
4
3
import { tryOrThrowError } from './util/tryOrThrowError' ;
5
4
6
5
import { Observer } from './Observer' ;
@@ -88,7 +87,7 @@ class SafeSubscriber<T> extends Subscriber<T> {
88
87
error ?: ( e ?: any ) => void ,
89
88
complete ?: ( ) => void ) {
90
89
super ( ) ;
91
- this . _next = ( typeof next === 'function' ) && tryOrOnError ( next ) || null ;
90
+ this . _next = ( typeof next === 'function' ) && tryOrThrowError ( next ) || null ;
92
91
this . _error = ( typeof error === 'function' ) && tryOrThrowError ( error ) || throwError ;
93
92
this . _complete = ( typeof complete === 'function' ) && tryOrThrowError ( complete ) || null ;
94
93
}
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments