Last active
August 29, 2015 14:22
-
-
Save kdepp/1d58214e989c9d4166f4 to your computer and use it in GitHub Desktop.
longStackTrace (Yaku vs Bluebird)
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
Promise_Yaku = require 'yaku' | |
Promise_Bird = require 'bluebird' | |
Promise_Yaku.enableLongStackTrace() | |
Promise_Bird.longStackTraces() | |
test = (Promise) -> | |
foo = -> Promise.reject "not catched" | |
Promise.resolve() | |
.then foo | |
.then -> | |
test Promise_Yaku | |
test Promise_Bird | |
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: not catched | |
at foo (/Users/kdepp/projects/me/promise_exception/app.coffee:8:22) | |
at process._tickCallback (node.js:415:13) | |
at Function.Module.runMain (module.js:499:11) | |
From previous event: | |
at test (/Users/kdepp/projects/me/promise_exception/app.coffee:11:10) | |
at Object.<anonymous> (/Users/kdepp/projects/me/promise_exception/app.coffee:15:1) | |
at Object.<anonymous> (/Users/kdepp/projects/me/promise_exception/app.coffee:1:1) | |
at Module._compile (module.js:456:26) | |
at Object.loadFile (/usr/local/lib/node_modules/nobone/node_modules/coffee-script/lib/coffee-script/register.js:16:19) | |
at Module.load (/usr/local/lib/node_modules/nobone/node_modules/coffee-script/lib/coffee-script/register.js:45:36) | |
at Function.Module._load (module.js:312:12) | |
at Module.require (module.js:364:17) | |
at require (module.js:380:17) | |
at runApp (/usr/local/lib/node_modules/nobone/dist/cli.js:143:14) | |
at init (/usr/local/lib/node_modules/nobone/dist/cli.js:80:16) | |
at Object.<anonymous> (/usr/local/lib/node_modules/nobone/dist/cli.js:159:3) | |
at Module._compile (module.js:456:26) | |
at Object.Module._extensions..js (module.js:474:10) | |
at Module.load (module.js:356:32) | |
at Function.Module._load (module.js:312:12) | |
at Module.require (module.js:364:17) | |
at require (module.js:380:17) | |
at Object.<anonymous> (/usr/local/lib/node_modules/nobone/bin/nobone.js:3:1) | |
at Module._compile (module.js:456:26) | |
at Object.Module._extensions..js (module.js:474:10) | |
at Module.load (module.js:356:32) | |
at Function.Module._load (module.js:312:12) | |
at Function.Module.runMain (module.js:497:10) | |
at startup (node.js:119:16) | |
at node.js:902:3 |
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: not catched From previous event: | |
at test (/Users/kdepp/projects/me/promise_exception/app.coffee:12:10) | |
at Object.<anonymous> (/Users/kdepp/projects/me/promise_exception/app.coffee:14:1) | |
at Object.<anonymous> (/Users/kdepp/projects/me/promise_exception/app.coffee:1:1) | |
at Module._compile (module.js:456:26) | |
at Object.loadFile (/usr/local/lib/node_modules/nobone/node_modules/coffee-script/lib/coffee-script/register.js:16:19) | |
at Module.load (/usr/local/lib/node_modules/nobone/node_modules/coffee-script/lib/coffee-script/register.js:45:36) | |
at Function.Module._load (module.js:312:12) | |
at Module.require (module.js:364:17) | |
at require (module.js:380:17) | |
at runApp (/usr/local/lib/node_modules/nobone/dist/cli.js:143:14) | |
at init (/usr/local/lib/node_modules/nobone/dist/cli.js:80:16) | |
at Object.<anonymous> (/usr/local/lib/node_modules/nobone/dist/cli.js:159:3) | |
at Module._compile (module.js:456:26) | |
at Object.Module._extensions..js (module.js:474:10) | |
at Module.load (module.js:356:32) | |
at Function.Module._load (module.js:312:12) | |
at Module.require (module.js:364:17) | |
at require (module.js:380:17) | |
at Object.<anonymous> (/usr/local/lib/node_modules/nobone/bin/nobone.js:3:1) | |
at Module._compile (module.js:456:26) | |
at Object.Module._extensions..js (module.js:474:10) | |
at Module.load (module.js:356:32) | |
at Function.Module._load (module.js:312:12) | |
at Function.Module.runMain (module.js:497:10) | |
at startup (node.js:119:16) | |
at node.js:902:3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment