wifi: Report stack trace for caught exceptions

We catch exceptions that occur in wifi test steps so that we
can perform cleanup before throwing back up to the autotest
system.  However this means that for these errors the autotest
stack trace ends at the "raise" in site_wifitest.  This CL
first prints the stack trace from its perspective before throwing
so it is easier to discern what code caused the original exception.

BUG=n0ne
TEST=Insert a regular expression syntax error somewhere that's hard
to detect any other way (test may have been created before the fix).

Change-Id: I9e257a301b30b8e0e5415666d183c615b739fe03
Reviewed-on: http://gerrit.chromium.org/gerrit/2379
Reviewed-by: Sam Leffler <sleffler@chromium.org>
Tested-by: Paul Stewart <pstew@chromium.org>
1 file changed