Browse Source

Better message on PCM repository error

Fixes https://gitlab.com/kicad/code/kicad/-/issues/9587
7.0
qu1ck 3 years ago
committed by Seth Hillbrand
parent
commit
d52d1cb489
  1. 6
      kicad/pcm/pcm.cpp

6
kicad/pcm/pcm.cpp

@ -316,7 +316,11 @@ bool PLUGIN_CONTENT_MANAGER::FetchRepository( const wxString& aUrl, PCM_REPOSITO
catch( const std::exception& e )
{
if( m_dialog )
wxLogError( wxString::Format( _( "Unable to parse repository:\n\n%s" ), e.what() ) );
{
wxLogError( wxString::Format( _( "Unable to parse repository: %s" ), e.what() ) );
wxLogError( _( "The given repository URL does not look like a valid KiCad package "
"repository. Please double check the URL." ) );
}
return false;
}

Loading…
Cancel
Save