Update main.js
Update main.js

Add error handler for node-red spawn process to prevent spawn process termination in case of uncatched exceptions of sub processes like http timeouts of the http request node.
ioBroker/ioBroker.node-red,ioBroker/ioBroker.node-red