fzaninotto/screenshot-as-a-service — pull request #1 by jgobillot (2012-06-15 08:56:16+00:00)
Title: Manage application crashes

Avoid application crashes due to rasteriser script error :
- Add a class RasterizerService to start, kill and reboot phantomjs process.
- Restart phantomjs process when it can't be reached.
- Remove from rasterizer script the event catching javascript error and returning a response error.

Avoid application crashes due to streaming error
- Catch streaming error

Update example :
- Terminate response when stream is over