guardian/frontend — pull request #5749 by phamann (2014-08-27 16:06:44+00:00)
Title: Add vcs revision to Sentry events

We have found that the build number is not a useful metric to cut the Sentry data by, as the JavaScript files are related to common and not specific applications. Therefore we have chosen to use the vcs revision number from the CI build instead which will group changes back to the git SHA instead.

This PR also scrubs the md5 hash from the culprit JS file before sending it back to Sentry to avoid the same error being reported as a unique by different builds.

/cc @rich-nguyen @ironsidevsquincy @mattosborn