I had an interesting discussion with a fellow developer last week and would like to expand that discussion here. Essentially we were discussing the sometimes-heard advice that, when coding NodeJS applications, if the app encounters a an error of significance, it is more advisable to crash and restart. What an error of significance is could&#x2F;should be debatable. But have any other NodeJS developers encountered this advice? When is it something to be used in practice? Under what circumstances and types of apps would it be advisable to follow this pattern? What about e-commerce?
Node.js errors – to crash or not to crash