ensure we catch the right exception. Plus turn test_diagnostics into a more thorough unit test. Change-Id: I1aae28b9b3b942f08e419cd9cfa48dea003e96d9
ensure we catch the right exception. Plus turn test_diagnostics into a more thorough unit test. Change-Id: I1aae28b9b3b942f08e419cd9cfa48dea003e96d9