diff --git a/OpenEdXMobile/src/main/java/org/edx/mobile/http/ErrorHandlingCallback.java b/OpenEdXMobile/src/main/java/org/edx/mobile/http/ErrorHandlingCallback.java index 85e048779e..7eed6f3b90 100644 --- a/OpenEdXMobile/src/main/java/org/edx/mobile/http/ErrorHandlingCallback.java +++ b/OpenEdXMobile/src/main/java/org/edx/mobile/http/ErrorHandlingCallback.java @@ -195,7 +195,7 @@ public void onFailure(@NonNull Call call, @NonNull Throwable error) { if (progressCallback != null) { progressCallback.finishProcess(); } - if (messageCallback != null) { + if (messageCallback != null && !call.isCanceled()) { messageCallback.onMessage(callTrigger.getMessageType(), ErrorUtils.getErrorMessage(error, context)); }