Change exception handling in httpPing when checking for wifi connection.

This CL catches errors thrown by validate_connection in addition to None
returns and issues a wifi connect command if either of these failure
event occur.

Test: Done
Bug: None

Change-Id: I1ea19bf3dbbddf00f15d781933b81fd0e85cf66a
Signed-off-by: Omar El Ayach <oelayach@google.com>
4 files changed
tree: e016923a2c57afa56bd44d8508d87809db042394
  1. acts/
  2. tools/
  3. wts-acts/
  4. Android.mk
  5. OWNERS
  6. PREUPLOAD.cfg