Skip to content

Commit cb61868

Browse files
committed
Fix build warning
1 parent 2f32a73 commit cb61868

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/iOS/OAuth2Authorizer+iOS.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -315,7 +315,7 @@ class OAuth2ASWebAuthenticationPresentationContextProvider: NSObject, ASWebAuthe
315315

316316
public func presentationAnchor(for session: ASWebAuthenticationSession) -> ASPresentationAnchor {
317317
guard let context = authorizer.oauth2.authConfig.authorizeContext as? ASPresentationAnchor else {
318-
fatalError("Invalid authConfig.authorizeContext, must be ASPresentationAnchor but is \(authorizer.oauth2.authConfig.authorizeContext)")
318+
fatalError("Invalid authConfig.authorizeContext, must be ASPresentationAnchor but is \(String(describing: authorizer.oauth2.authConfig.authorizeContext))")
319319
}
320320

321321
return context

0 commit comments

Comments
 (0)