Skip to content

Commit

Permalink
rebase pull request
Browse files Browse the repository at this point in the history
  • Loading branch information
MinaSamir11 committed Jan 13, 2021
2 parents fd91a20 + d064799 commit 4c8d92e
Showing 1 changed file with 7 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,13 @@ public void show() {
Log.e("Review Error", "getResult may have thrown an exception. This is likely an emulated device.");
}
} else {
Log.e("Review Error", task.getResult().toString());
String taskErrorMessage = "";
try {
taskErrorMessage = task.getResult().toString();
} catch (Exception e) {
taskErrorMessage = e.getMessage();
}
Log.e("Review Error", taskErrorMessage);
}

});
Expand Down

0 comments on commit 4c8d92e

Please sign in to comment.