Permalink
Browse files

clean

  • Loading branch information...
contra committed Nov 6, 2011
1 parent 49646b3 commit 9c9c740e1424955e438aabd780da7fbb046c2511
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/nodester.js
  2. +1 −1 src/nodester.coffee
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
@@ -77,7 +77,7 @@ handleResponse = (cb) ->
errCause = "JSON Parse error!"
if errCode then errCause = "HTTP Error #{ errCode } returned."
- if success? and success.message? and success.status? and not /^success/.exec success.status then errCause = success.message
+ if success?.message? and success?.status? and not /^success/.exec success.status then errCause = success.message
errCause ?= "No response received." unless body
if errCause

0 comments on commit 9c9c740

Please sign in to comment.