commit | 277acc162389794a49c28b241b5591df63c4d637 | [log] [tgz] |
---|---|---|
author | Jon Boekenoogen <jboekeno@google.com> | Mon Jul 23 18:30:17 2012 -0700 |
committer | Jon Boekenoogen <jboekeno@google.com> | Mon Jul 23 18:30:17 2012 -0700 |
tree | 8b98a9e19a7cd0cfbc665ba2da5d4b0b0b4af750 | |
parent | 584d64f65b0d6459bc4fa7ad02460db25ec3033a [diff] |
Properly rethrow exception from ShadowAsyncTask
diff --git a/src/main/java/com/xtremelabs/robolectric/shadows/ShadowAsyncTask.java b/src/main/java/com/xtremelabs/robolectric/shadows/ShadowAsyncTask.java index 9dd8d46..c65cd51 100644 --- a/src/main/java/com/xtremelabs/robolectric/shadows/ShadowAsyncTask.java +++ b/src/main/java/com/xtremelabs/robolectric/shadows/ShadowAsyncTask.java
@@ -46,7 +46,7 @@ // Ignore. } catch (Throwable t) { throw new RuntimeException("An error occured while executing doInBackground()", - t.getCause()); + t); } } };