Hide "Unable to load repository url" message when repository fetching is cancelled.

(cherry picked from commit 020376937ea3ef7e64512e32c66cc4de171ad073)
This commit is contained in:
Alex Shvartzkop 2025-02-11 18:56:21 +03:00
parent add6705e98
commit dc4708cdb7

View File

@ -253,12 +253,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;