diff --git a/modules/mod-cloud-audiocom/CloudProjectUtils.cpp b/modules/mod-cloud-audiocom/CloudProjectUtils.cpp index 464c339309de..e1209ac12239 100644 --- a/modules/mod-cloud-audiocom/CloudProjectUtils.cpp +++ b/modules/mod-cloud-audiocom/CloudProjectUtils.cpp @@ -73,7 +73,7 @@ bool HandleFailure(const ProjectSyncResult& result) { if ( result.Status == ProjectSyncResult::StatusCode::Succeeded || - result.Result.Code != ResponseResultCode::Conflict) + result.Result.Code == ResponseResultCode::Conflict) return false; BasicUI::ShowErrorDialog( @@ -81,6 +81,8 @@ bool HandleFailure(const ProjectSyncResult& result) BasicUI::ErrorDialogOptions {}.Log( audacity::ToWString(result.Result.Content))); + wxLogError("Failed to open cloud project: %s", result.Result.Content); + return true; }