title: How to keep observable alive after error in RxJS 6 and Angular 6
body: <p>Can anyone help with the scenario where <code>this._getReactions$.next()</code> not working whenever <code>this.http.get(...)</code> gets an error. I want to keep observable alive to take the next input.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>private _getReactions$: Subject&lt;any&gt; = new Subject();
  
   constructor() {
    this._getReactions$
    .pipe(
      switchMap(() =&gt; {
          return this.http.get(...)
          // http request 
      }),
      catchError(error =&gt; {
        console.log(error);
        return empty();
      })
    )
    .subscribe(data =&gt; {
        console.log(data)
        //results handling
    });
   }</code></pre>
  </div>
  </div>
  </p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>onClick() {
    this._getReactions$.next();
  }</code></pre>
  </div>
  </div>
  </p>