final int requestId, final AuthenticationException exc) {
try {
if (waitingRequest != null && waitingRequest.getDelegate() != null) {
Logger.v(TAG, "Sending error to callback"
+ mAuthContext.getCorrelationInfoFromWaitingRequest(waitingRequest));
<BUG>waitingRequest.getAPIEvent().setWasApiCallSuccessful(false);
</BUG>
waitingRequest.getAPIEvent().setCorrelationId(
waitingRequest.getRequest().getCorrelationId().toString());
waitingRequest.getAPIEvent().stopTelemetryAndFlush();

final int requestId, final AuthenticationException exc) {
try {
if (waitingRequest != null && waitingRequest.getDelegate() != null) {
Logger.v(TAG, "Sending error to callback"
+ mAuthContext.getCorrelationInfoFromWaitingRequest(waitingRequest));
waitingRequest.getAPIEvent().setWasApiCallSuccessful(false, exc);
waitingRequest.getAPIEvent().setCorrelationId(
waitingRequest.getRequest().getCorrelationId().toString());
waitingRequest.getAPIEvent().stopTelemetryAndFlush();
