Skip to content

Commit 146dea0

Browse files
authored
Make fire-perf config error message Swift-friendly (#12126)
1 parent 4d2b60d commit 146dea0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

FirebasePerformance/Sources/FIRPerformance.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,8 @@ - (FIRTrace *)traceWithName:(NSString *)name {
5151
FPRLogError(kFPRTraceNotCreated, @"Failed creating trace %@. Firebase is not configured.",
5252
name);
5353
[NSException raise:kFirebasePerfErrorDomain
54-
format:@"The default Firebase app has not yet been configured. Add [FirebaseApp "
55-
@"configure] to your application initialization."];
54+
format:@"The default Firebase app has not yet been configured. Add "
55+
@"`FirebaseApp.configure()` to your application initialization."];
5656
return nil;
5757
}
5858
FIRTrace *trace = [[FIRTrace alloc] initWithName:name];

0 commit comments

Comments
 (0)