Release parameter length

Hi,

we had been using the git commit hash as the release parameter value for our sentry events. We have noticed that the value is not valid anymore. After playing around we have notice it’s because of it’s length. It seems that if we slice the hash to 39 characters (a commit has a length of 40) it works.

Is that expected?

Thanks,

Ramon

We had a similar problem:

Discarded invalid value for parameter ‘release’

Turned out in our case that we were also sending a newline by accident, from a revision file, like this:

config.release = File.read("REVISION")

Our fix was to remove the trailing whitespace. In Rails: File.read("REVISION").strip.