1
0
Fork 0
mirror of https://github.com/Radarr/Radarr synced 2025-02-26 16:13:19 +00:00

Exceptron now uses 'en' culture if none is specified.

This commit is contained in:
Taloth Saldono 2014-03-27 23:13:45 +01:00 committed by Taloth
parent 118089c272
commit fe02467a71

View file

@ -184,6 +184,9 @@ private void SetEnviromentInfo(ExceptionReport report)
{ {
report.cul = Thread.CurrentThread.CurrentCulture.Name; report.cul = Thread.CurrentThread.CurrentCulture.Name;
if (string.IsNullOrEmpty(report.cul))
report.cul = "en";
try try
{ {
report.os = Environment.OSVersion.VersionString; report.os = Environment.OSVersion.VersionString;