Created
March 30, 2016 04:22
-
-
Save colwem/e7b0415c521e6aeacf0c3db77628f413 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use strict'; | |
let Promise = require('bluebird'); | |
Promise.try(() => { | |
test(); | |
}) | |
function test() { | |
throw new Error('message'); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Unhandled rejection Error: message | |
at test (/Users/colwem/workshop/RxJSKoans/test.js:10:9) | |
at /Users/colwem/workshop/RxJSKoans/test.js:6:3 | |
at tryCatcher (/Users/colwem/workshop/RxJSKoans/node_modules/bluebird/js/release/util.js:16:23) | |
at Function.Promise.attempt.Promise.try (/Users/colwem/workshop/RxJSKoans/node_modules/bluebird/js/release/method.js:39:29) | |
at Object.<anonymous> (/Users/colwem/workshop/RxJSKoans/test.js:5:12) | |
at Module._compile (module.js:413:34) | |
at Object.Module._extensions..js (module.js:422:10) | |
at Module.load (module.js:357:32) | |
at Function.Module._load (module.js:314:12) | |
at Function.Module.runMain (module.js:447:10) | |
at startup (node.js:142:18) | |
at node.js:939:3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment