Skip to content

Commit 9c551c7

Browse files
committed
Update domain to be more adaptive
1 parent 4f84809 commit 9c551c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FirebaseAI/Sources/GenerativeAIService.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ struct GenerativeAIService {
224224
fatalError(errorMessage)
225225
#else
226226
throw NSError(
227-
domain: "com.google.firebase.ai.GenerativeAIService",
227+
domain: "\(Constants.baseErrorDomain).\(Self.self)",
228228
code: AILog.MessageCode.appCheckTokenFetchFailed.rawValue,
229229
userInfo: [NSLocalizedDescriptionKey: errorMessage]
230230
)

0 commit comments

Comments
 (0)