abstract-http-request
abstract-http-request copied to clipboard
throws error on malformed JSONP, should pass err
why does it through when it obviously should pass the error? I dunno. I must have not had enough sleep. @gissues:{"order":5,"status":"backlog"}
/Users/coolaj86/Consulting/blyph/node_modules/ahr.node/node_modules/ahr.utils/ahr.utils.js:54
throw new Error('No JSONP matched');
^
Error: No JSONP matched at /Users/coolaj86/Consulting/blyph/node_modules/ahr.node/node_modules/ahr.utils/ahr.utils.js:54:13 at IncomingMessage.onEnd (/Users/coolaj86/Consulting/blyph/node_modules/ahr.node/response-node.js:75:16) at IncomingMessage.emit (/Users/coolaj86/Consulting/blyph/node_modules/campusbooks/node_modules/ahr2/node_modules/events.node/events.js:89:20) at HTTPParser.onMessageComplete (http.js:133:23) at Socket.ondata (http.js:1226:22) at Socket._onReadable (net.js:681:27) at IOWatcher.onReadable [as callback] (net.js:177:10)