You are viewing a single comment's thread from:
RE: Quick update on Finallycomments - v0.7.1
To be honest I'm still not sure 100% on the best approach here. The stats bot was just an example for the tutorial and by no way intended to be a bulletproof approach.
The best I've come up with so far is to check if there is an error inside the of the stream callback, if so exit the process and have forever restart the node process. I'm certian there is a better way though
Any chance you can help me on that part? Maybe you can make it as an update for that and post via utopian?
Here's a pic of the error
Sorry I had forgotten this tutorial was based on the browser. Working in the browser is primarily for learning, this really needs to run as a server-side process. I'm not sure it's viable to have it restart effectively in the browser.
I can add a step-by-step 'always on' tutorial to the list but I have a very long list. I have many projects to work on so I won't be able to work on this for you in any short amount of time, sorry.
No problem, thank you for your time, I found a small solution for now, refresh the page when the script gets an error, I'll start learning javascript, it should not be that hard since I've worked a little with C#, C, C++. Thank you for your tutorials I'll stat from there.