Hi,
Hosted Sentry 8.20.0
I am working on a cordova app and could not get sourcemaps to work.
This is what I am doing:
- upload source maps and source js to sentry
- normalizing filenames as per: normalize filenames in the frame
I can see the artifacts:
This is a part of the event json:
{“id”:“bee2212f803b4769ad692f43ba8ec0ad”,“project”:2,"release":"0.1.13",“dist”:null,“platform”:“javascript”,“culprit”:"/vendor.bundle.js in n",“message”:“Invariant Violation Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. Check the render method of n
. vendor.bundle.js in n”,“datetime”:“2017-09-15T02:25:16.000000Z”,“time_spent”:null,“tags”:[[“transaction”,“vendor.bundle.js in n”],[“level”,“error”],[“url”,“myurl”],[“sentry:user”,“ip:58.11.11.255”],[“logger”,“javascript”],"[“sentry:release”,"0.1.13],[“os. name”,“Linux”],[“browser”,“Chrome 61.0.3163”],[“browser. name”,“Chrome”]],“contexts”:{“os”:{“version”:null,“name”:“Linux”},“browser”:{“version”:“61.0.3163”,“name”:“Chrome”}},“errors”:[{“url”:“vendor.bundle.js”,“type”:"js_no_source"
You can see;
- release matches with screenshot : 0.1.13
- sentry not able find source for vendor.bundle.js
Lastly:
at the end of: vendor.bundle.js
//# sourceMappingURL=vendor.bundle.js.map
Sourcemap itself is valid - as I can see it being applied on Chromium.
Not sure, what I am doing wrong here?