Make maxUrlLength truncate loop slightly safer/more defensive
Make maxUrlLength truncate loop slightly safer/more defensive

getsentry/raven-js,housinghq/main-raven-js,getsentry/raven-js,getsentry/raven-js,housinghq/main-raven-js,housinghq/main-raven-js,getsentry/raven-js