Less verbose logging for untranslated strings.

This commit is contained in:
Matthias Mailänder
2023-03-18 19:49:20 +01:00
committed by Matthias Mailänder
parent dc390a7301
commit 2867334c00

View File

@@ -110,10 +110,10 @@ namespace OpenRA
return result;
}
catch (Exception e)
catch (Exception)
{
Log.Write("debug", $"Translation of {key} failed:");
Log.Write("debug", e);
Log.Write("debug", $"Failed translation: {key}");
value = null;
return false;
}