Update HTTP code error message in install script
When there is a non-2xx status while downloading the Sentry CLI binary in the CLI install script, we currently print the following error message:
"error: your platform and architecture (${PLATFORM}-${ARCH}) is unsupported."
However, running the script on an unsupported platform is on.ly one of the possible causes for not receiving a 2xx status code when downloading the binary. Other causes include problems with the internet connection or an internal server error. The current error message confuses users who receive the error message when running the script on a platform that the CLI supports.
We should change the error message to something more general that indicates there was some sort of problem while downloading the script. Perhaps, we could keep the original error message only for 404 status codes, since these are very likely to indicate that the user is attempting to download a binary that does not exist because their platform is unsupported.
This appears to live in getsentry repo