diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/DotNetOpenAuth.OpenId/OpenId/UriIdentifier.cs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/DotNetOpenAuth.OpenId/OpenId/UriIdentifier.cs b/src/DotNetOpenAuth.OpenId/OpenId/UriIdentifier.cs index d601aed..631eab6 100644 --- a/src/DotNetOpenAuth.OpenId/OpenId/UriIdentifier.cs +++ b/src/DotNetOpenAuth.OpenId/OpenId/UriIdentifier.cs @@ -90,6 +90,10 @@ namespace DotNetOpenAuth.OpenId { // We must be running in partial trust. Nothing more we can do. Logger.OpenId.Warn("Unable to coerce .NET to stop compressing URI paths due to partial trust limitations. Some URL identifiers may be unable to complete login."); Reporting.RecordFeatureUse("PartialTrust"); + } catch (FieldAccessException) { // one customer reported getting this exception + // We must be running in partial trust. Nothing more we can do. + Logger.OpenId.Warn("Unable to coerce .NET to stop compressing URI paths due to partial trust limitations. Some URL identifiers may be unable to complete login."); + Reporting.RecordFeatureUse("PartialTrust"); } } |