Not sure on this one. I think it maybe on the weather API side but it does cause the server to error out. Saw it happen twice on Wed (just finally restarted the server logging the api responses to console). Here is the error:
undefined:1
ther.yahoo.com/forecast/USCA0993_f.html","pubDate":"Wed, 23 Jul 2014 10:52 pm
^
SyntaxError: Unexpected end of input
at Object.parse (native)
at IncomingMessage. (/usr/local/lib/node_modules/switchBoard/controllers/weather.js:89:42)
at IncomingMessage.g (events.js:180:16)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:919:16
at process._tickCallback (node.js:419:13)
Not sure on this one. I think it maybe on the weather API side but it does cause the server to error out. Saw it happen twice on Wed (just finally restarted the server logging the api responses to console). Here is the error:
undefined:1 ther.yahoo.com/forecast/USCA0993_f.html","pubDate":"Wed, 23 Jul 2014 10:52 pm ^ SyntaxError: Unexpected end of input at Object.parse (native) at IncomingMessage. (/usr/local/lib/node_modules/switchBoard/controllers/weather.js:89:42)
at IncomingMessage.g (events.js:180:16)
at IncomingMessage.EventEmitter.emit (events.js:117:20)
at _stream_readable.js:919:16
at process._tickCallback (node.js:419:13)