Skip to content

Commit

Permalink
Make fire-perf config error message Swift-friendly (#12126)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 committed Nov 21, 2023
1 parent 4d2b60d commit 146dea0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions FirebasePerformance/Sources/FIRPerformance.m
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ - (FIRTrace *)traceWithName:(NSString *)name {
FPRLogError(kFPRTraceNotCreated, @"Failed creating trace %@. Firebase is not configured.",
name);
[NSException raise:kFirebasePerfErrorDomain
format:@"The default Firebase app has not yet been configured. Add [FirebaseApp "
@"configure] to your application initialization."];
format:@"The default Firebase app has not yet been configured. Add "
@"`FirebaseApp.configure()` to your application initialization."];
return nil;
}
FIRTrace *trace = [[FIRTrace alloc] initWithName:name];
Expand Down

0 comments on commit 146dea0

Please sign in to comment.