Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit d5b29a3

Browse files
committed
Ignore ConfigurationManager.AppSettings NotSupportedExceptions's
1 parent 6735391 commit d5b29a3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/ServiceStack.Text/PclExport.Net45.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ public override void RegisterLicenseFromConfig()
116116
return;
117117
}
118118
}
119+
catch (NotSupportedException) { return; } // Ignore Unity/IL2CPP Exception
119120
catch (Exception ex)
120121
{
121122
licenceKeyText = Environment.GetEnvironmentVariable(EnvironmentKey)?.Trim();

0 commit comments

Comments
 (0)