Skip to content
This repository has been archived by the owner on Nov 14, 2020. It is now read-only.

CaptureException not working as expected #28

Open
bbroereES opened this issue Apr 4, 2019 · 0 comments
Open

CaptureException not working as expected #28

bbroereES opened this issue Apr 4, 2019 · 0 comments

Comments

@bbroereES
Copy link

When using CaptureException, in Sentry I get something like this instead of a nice stack trace:
{"message":"test","stacktrace":"onLog@file:///app/bundle.js:1398:102 [angular]\n_log@file:///app/vendor.js:88165:38 [angular]\nerror@file:///app/vendor.js:88082:18 [angular]\nerror@file:///app/bundle.js:1306:26 [angular]\ntestError@file:///app/0.js:218:26 [angular]\n\ncallWithDebugContext@file:///app/vendor.js:60013:30 [angular]\ndispatchEvent@file:///app/vendor.js:56392:36 [angular]\nfile:///app/vendor.js:49363:51 [angular]\n__tryOrUnsub@file:///app/vendor.js:92013:20 [angular]\nnext@file:///app/vendor.js:91951:34 [angular]\n_next@file:///app/vendor.js:91895:30 [angular]\nnext@file:///app/vendor.js:91872:23 [angular]\nnext@file:///app/vendor.js:91646:29 [angular]\nemit@file:///app/vendor.js:49335:80 [angular]\nonTap@file:///app/bundle.js:1749:22 [angular]\n\ncallWithDebugContext@file:///app/vendor.js:60013:30 [angular]\ndispatchEvent@file:///app/vendor.js:56392:36 [angular]\nfile:///app/vendor.js:81443:31 [angular]\nonInvoke@file:///app/vendor.js:53135:39 [angular]\nzonedCallback@file:///app/vendor.js:81442:27 [<root>]\nnotify@file:///app/vendor.js:105659:31 [<root>]\n_emit@file:///app/vendor.js:105676:24 [<root>]\ntap@file:///app/vendor.js:115440:24 [<root>]\nUIApplicationMain@[native code] [<root>]\nstart@file:///app/vendor.js:102776:26 [<root>]\nrun@file:///app/vendor.js:102804:10 [<root>]\nbootstrapNativeScriptApp@file:///app/vendor.js:80906:26 [<root>]\nbootstrapApp@file:///app/vendor.js:80824:38 [<root>]\nbootstrapModule@file:///app/vendor.js:80808:26 [<root>]\n./main.ts@file:///app/bundle.js:2569:116 [<root>]\n__webpack_require__@file:///app/bundle.js:76:34 [<root>]\ncheckDeferredModules@file:///app/bundle.js:45:42 [<root>]\nfile:///app/bundle.js:166:38 [<root>]\nanonymous@file:///app/bundle.js:167:12 [<root>]\nevaluate@[native code] [<root>]\nmoduleEvaluation@[native code] [<root>]\npromiseReactionJob@[native code] [<root>]\nrequire@[native code] [<root>]\nanonymous@file:///app/starter.js:2:8 [<root>]\nevaluate@[native code] [<root>]\nmoduleEvaluation@[native code] [<root>]\npromiseReactionJob@[native code] [<root>]","name":"Error"}

Note, in Sentry there are no newlines, this is just one blob of text.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant