mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-09-14 02:03:12 +02:00
Better message on PCM repository error
Fixes https://gitlab.com/kicad/code/kicad/-/issues/9587
This commit is contained in:
parent
6be87d41e1
commit
d52d1cb489
@ -316,7 +316,11 @@ bool PLUGIN_CONTENT_MANAGER::FetchRepository( const wxString& aUrl, PCM_REPOSITO
|
|||||||
catch( const std::exception& e )
|
catch( const std::exception& e )
|
||||||
{
|
{
|
||||||
if( m_dialog )
|
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;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user