Skip to content

Commit

Permalink
oathbreaker: Avoid breaking with non-Bluebird promises.
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Apr 3, 2016
1 parent 59305c9 commit bca0d9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/oathbreaker.js
Expand Up @@ -46,7 +46,7 @@ module.exports = function oathbreaker(value) {
throw error;
} else if (evaluated) {
return value;
} else {
} else if (value._captureStackTrace) {
value._captureStackTrace(true);
}

Expand Down

0 comments on commit bca0d9f

Please sign in to comment.