abstract-http-request icon indicating copy to clipboard operation
abstract-http-request copied to clipboard

throws error on malformed JSONP, should pass err

Open coolaj86 opened this issue 14 years ago • 1 comments

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"}

coolaj86 avatar Aug 02 '11 06:08 coolaj86

/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)

coolaj86 avatar Aug 02 '11 06:08 coolaj86