Decrease error severity for Altium imports

These are not errors that end users can do anything about.  Keep them
around for developer debugging if we want to see more imformation but
don't pop up error messages on the user's screen
This commit is contained in:
Seth Hillbrand 2024-07-17 09:54:57 -07:00
parent 10085941fc
commit ae458d0421
2 changed files with 3 additions and 3 deletions

View File

@ -361,7 +361,7 @@ std::map<wxString, wxString> ALTIUM_BINARY_PARSER::ReadProperties(
if( !hasNullByte && !isBinary )
{
wxLogError( _( "Missing null byte at end of property list. Imported data might be "
wxLogTrace( "ALTIUM", wxT( "Missing null byte at end of property list. Imported data might be "
"malformed or missing." ) );
}

View File

@ -93,7 +93,7 @@ int32_t ALTIUM_PROPS_UTILS::ReadKicadUnit( const std::map<wxString, wxString>& a
if( !value.EndsWith( "mil", &prefix ) )
{
wxLogError( _( "Unit '%s' does not end with 'mil'." ), value );
wxLogTrace( "ALTIUM", wxT( "Unit '%s' does not end with 'mil'." ), value );
return 0;
}
@ -103,7 +103,7 @@ int32_t ALTIUM_PROPS_UTILS::ReadKicadUnit( const std::map<wxString, wxString>& a
if( !prefix.ToCDouble( &mils ) )
{
wxLogError( _( "Cannot convert '%s' to double." ), prefix );
wxLogTrace( "ALTIUM", wxT( "Cannot convert '%s' to double." ), prefix );
return 0;
}