Skip to content

Commit

Permalink
Adding use of new exception property to allResolved example.
Browse files Browse the repository at this point in the history
  • Loading branch information
domenic committed May 16, 2012
1 parent c8c867a commit a149265
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ Q.allResolved(promises)
if (promise.isFulfilled()) {
var value = promise.valueOf();
} else {
var exception = promise.valueOf().exception;
}
})
})
Expand Down

0 comments on commit a149265

Please sign in to comment.