Skip to content

Commit

Permalink
Merge pull request #38 from JakeWharton/patch-1
Browse files Browse the repository at this point in the history
Restore ability to access underlying Throwable.
  • Loading branch information
loopj committed Dec 22, 2014
2 parents e9ce12f + 616eba0 commit d8d0c1a
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/main/java/com/bugsnag/android/Error.java
Original file line number Diff line number Diff line change
Expand Up @@ -239,6 +239,13 @@ public String getExceptionName() {
public String getExceptionMessage() {
return exception.getLocalizedMessage();
}

/**
* The {@linkplain Throwable exception} which triggered this Error report.
*/
public Throwable getException() {
return exception;
}

void setAppData(AppData appData) {
this.appData = appData;
Expand Down

0 comments on commit d8d0c1a

Please sign in to comment.