Created
June 2, 2015 06:59
-
-
Save kdepp/75a3f617ba82404b5a4b to your computer and use it in GitHub Desktop.
Yaku LongStackTrace Case 2
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) -> | |
bar = -> JSON.parse('edf{23}') | |
Promise.resolve() | |
.then bar | |
.then (->) | |
.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 SyntaxError: Unexpected token e | |
at Object.parse (native) | |
at bar (/Users/kdepp/projects/me/promise_exception/app.coffee:8:19) | |
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:16: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: SyntaxError: Unexpected token e | |
at Object.parse (native) | |
at bar (/Users/kdepp/projects/me/promise_exception/app.coffee:8:19) | |
at callHanler (/Users/kdepp/projects/me/promise_exception/node_modules/yaku/dist/yaku.js:571:14) | |
at tryCatcher (/Users/kdepp/projects/me/promise_exception/node_modules/yaku/dist/yaku.js:317:28) | |
at /Users/kdepp/projects/me/promise_exception/node_modules/yaku/dist/yaku.js:556:36 | |
at flush (/Users/kdepp/projects/me/promise_exception/node_modules/yaku/dist/yaku.js:372:11) | |
at process._tickCallback (node.js:415:13) | |
at Function.Module.runMain (module.js:499:11) | |
at startup (node.js:119:16) | |
at node.js:902:3 | |
From previous event: | |
at test (/Users/kdepp/projects/me/promise_exception/app.coffee:13: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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment