Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
oathbreaker: Avoid breaking with non-Bluebird promises.
  • Loading branch information
papandreou committed Apr 3, 2016
commit bca0d9f5804e55786430e3930a9b196de3286d37
2 changes: 1 addition & 1 deletion lib/oathbreaker.js
Original file line number Diff line number Diff line change
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