Skip to content

Commit

Permalink
Merge pull request #5114 from pingwang2011/timob-15950
Browse files Browse the repository at this point in the history
timob-15950: Android: Print error messages in Debug mode if the sync events are not processed
  • Loading branch information
ayeung committed Dec 11, 2013
2 parents 7468c2b + d5cdec3 commit eb77223
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -259,11 +259,13 @@ public Object getResult()
}
}
} catch (InterruptedException e) {
Log.e(TAG, "Interrupted waiting for async result", e);
if (Log.isDebugModeEnabled()) {
Log.e(TAG, "Interrupted waiting for async result", e);
}
dispatchPendingMessages();
}

if (exception != null) {
if (exception != null && Log.isDebugModeEnabled()) {
Log.e(TAG, "Unable to get the result from the blocking message.", exception);
}

Expand Down

0 comments on commit eb77223

Please sign in to comment.