Considering that Chrome and Firefox have enough native Javascript stack trace support to make this trivial, I'm not sure why you would want to do this in production:
1) introduce added network latency (time to proxy / parse / instrument) + risk of downtime of proxy
2) adding try/catch to every function in your program will make it larger and increase download / parse time
3) try/catch blocks can cause performance hits on some JS VMs, so you're slowing down your runtime as well.
1) introduce added network latency (time to proxy / parse / instrument) + risk of downtime of proxy
2) adding try/catch to every function in your program will make it larger and increase download / parse time
3) try/catch blocks can cause performance hits on some JS VMs, so you're slowing down your runtime as well.