keechma

Keechma stack. Mention @U050986L9 or @U2J1PHYNM if you have any questions
mjmeintjes 2018-02-05T02:50:44.000057Z

@mihaelkonjevic Do you know how to get source-mappings working with pipeline controllers? Currently, when a pipeline controller throws an exception (i.e. in a promise), I get a long stack trace, but the line numbers do not correspond with the cljs code. I'm using shadow-cljs, so not sure if this is a common problem, but was just wondering whether it is something I'm doing wrong or just the way things are.

mihaelkonjevic 2018-02-05T12:43:26.000238Z

@mjmeintjes This is a tricky one, but I did find a solution. First, there are some changes in Keechma Toolbox that will be pushed in the next release. This will get us half way there - it will report the correct error location in the built JS file. Second part of the solution is https://www.npmjs.com/package/source-map-support which needs to be installed in the app so it applies source maps to the stacktrace

mihaelkonjevic 2018-02-05T12:45:25.000142Z

this is how the stack trace looks then:

mihaelkonjevic 2018-02-05T12:48:01.000225Z

I’ll push the new version of Keechma Toolbox this week