We serve our javascript app with source maps in production. Sentry is able to show the actual line of exception in many scenarios, but in many other it doesn’t use the source maps.
Here is one example where source maps are not used.
TypeError: Cannot read property 'id' of undefined
at ? (/javascript/main.5d9894d0894808cd5872.bundle.js:1:1658714)
at ? (/javascript/main.5d9894d0894808cd5872.bundle.js:1:402875)
at N(/javascript/vendors.86242900678aea45894b.bundle.js:1002:7509)
at ? (/javascript/vendors.86242900678aea45894b.bundle.js:1002:7044)
at g(/javascript/vendors.86242900678aea45894b.bundle.js:208:4927)
at ? (/javascript/vendors.86242900678aea45894b.bundle.js:1002:9154)
at ? (/javascript/vendors.86242900678aea45894b.bundle.js:906:2511)
at ? (/javascript/vendors.86242900678aea45894b.bundle.js:49:3463)
at dispatch(/javascript/vendors.86242900678aea45894b.bundle.js:208:8090)
at ? (/javascript/main.5d9894d0894808cd5872.bundle.js:1:1688336)
at ? (/javascript/vendors.86242900678aea45894b.bundle.js:906:2502)
at ? (/javascript/vendors.86242900678aea45894b.bundle.js:49:3495)
at e.closeFlash(/javascript/vendors.86242900678aea45894b.bundle.js:208:6950)
at close(/javascript/main.5d9894d0894808cd5872.bundle.js:1:694124)
at ? (/javascript/vendors.86242900678aea45894b.bundle.js:385:120761)
at f(/javascript/vendors.86242900678aea45894b.bundle.js:385:31422)
at ? (/javascript/vendors.86242900678aea45894b.bundle.js:385:32778)
at s(/templates/Processing-Coaching-Call-Recordings-qGfRogxcwp2HHhB115lHqg/view/tasks/kxJiqmAPLgXpY2hp4i5NRA:5:23557)
at o(/javascript/vendors.86242900678aea45894b.bundle.js:838:6839)