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

Commit ccebe49

Browse files
committed
dll.Location is not PCL friendly
1 parent 47f172d commit ccebe49

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/ServiceStack.Text/LicenseUtils.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -392,10 +392,9 @@ public static IDisposable RequestAccess(object accessToken, LicenseFeature srcFe
392392

393393
if (!_approved.__tokens.Contains(accessType.FullName))
394394
{
395-
var errorDetails = " __tokens: '{0}', Assembly: '{1}', '{2}'".Fmt(
395+
var errorDetails = " __token: '{0}', Assembly: '{1}'".Fmt(
396396
accessType.Name,
397-
accessType.GetAssembly().ManifestModule.Name,
398-
accessType.GetAssembly().Location);
397+
accessType.GetAssembly().ManifestModule.Name);
399398

400399
throw new LicenseException(ErrorMessages.UnauthorizedAccessRequest + errorDetails);
401400
}

0 commit comments

Comments
 (0)