Executing the follow code shows as an error "GET https://blah.com/42" in my console (Chrome). Why? Shouldn't the error be caught and dismissed?
try {
  var req = new XMLHttpRequest();
  req.open('GET', 'https://blah.com/42', false);
  req.send();
} catch(e) {}
