From 020376937ea3ef7e64512e32c66cc4de171ad073 Mon Sep 17 00:00:00 2001
From: Alex Shvartzkop <dudesuchamazing@gmail.com>
Date: Tue, 11 Feb 2025 18:56:21 +0300
Subject: [PATCH] Hide "Unable to load repository url" message when repository
 fetching is cancelled.

---
 kicad/pcm/pcm.cpp | 5 -----
 1 file changed, 5 deletions(-)

diff --git a/kicad/pcm/pcm.cpp b/kicad/pcm/pcm.cpp
index 19e5112fb2..a44a8a523e 100644
--- a/kicad/pcm/pcm.cpp
+++ b/kicad/pcm/pcm.cpp
@@ -263,12 +263,7 @@ bool PLUGIN_CONTENT_MANAGER::FetchRepository( const wxString& aUrl, PCM_REPOSITO
     aReporter->SetTitle( _( "Fetching repository" ) );
 
     if( !DownloadToStream( aUrl, &repository_stream, aReporter, 20480 ) )
-    {
-        if( m_dialog )
-            wxLogError( _( "Unable to load repository url" ) );
-
         return false;
-    }
 
     nlohmann::json repository_json;