Print path of invalid files

This commit is contained in:
Thog 2019-11-22 23:08:24 +01:00 committed by unknown
parent 7fcf4db6ae
commit 763bc1a69e
No known key found for this signature in database
GPG key ID: 91798184109676AD

View file

@ -110,7 +110,7 @@ namespace Ryujinx.UI
}
catch (InvalidDataException)
{
Logger.PrintWarning(LogClass.Application, "The header key is incorrect or missing and therefore the NCA header content type check has failed.");
Logger.PrintWarning(LogClass.Application, $"{app}: The header key is incorrect or missing and therefore the NCA header content type check has failed.");
}
applications.Add(app);
@ -130,7 +130,7 @@ namespace Ryujinx.UI
}
catch (InvalidDataException)
{
Logger.PrintWarning(LogClass.Application, "The header key is incorrect or missing and therefore the NCA header content type check has failed.");
Logger.PrintWarning(LogClass.Application, $"{app}: The header key is incorrect or missing and therefore the NCA header content type check has failed.");
}
applications.Add(app);