title: Do not stop Observable on error
body: <p>Here's a Scala code I currently have:</p>
  
  <blockquote>
    <p>val b = Observable.interval(1 second).map(n => if (n % 2 == 1)
    throw new Exception else n*n)</p>
    
    <p>b.subscribe(n => println(n), e => println("error"), () =>
    println("done"))</p>
  </blockquote>
  
  <p>And here's my output:   </p>
  
  <blockquote>
    <p>0<br>
    error</p>
  </blockquote>
  
  <p>How can I modify my Observable so that it will just keep going after each error and I'll be having an output like this:</p>
  
  <pre><code>0
  error
  2
  error
  4
  ...
  </code></pre>