@@ -546,9 +546,9 @@ - (void)openDatabase {
546546 // If it still fails after the recovery attempt, then assert and crash.
547547 if (result != SQLITE_OK) {
548548 NSString *errorString = FIRMessagingStringFromSQLiteResult (result);
549- NSString *errorMessage = [NSString
550- stringWithFormat: @" Could not open or create RMQ database at path %@ , error: %@ " ,
551- path, errorString];
549+ NSString *errorMessage = [NSString stringWithFormat:
550+ @" Could not open or create RMQ database at path %@ , error: %@ " ,
551+ path, errorString];
552552 FIRMessagingLoggerError (kFIRMessagingMessageCodeRmq2PersistentStoreErrorOpeningDatabase ,
553553 @" %@ " , errorMessage);
554554 NSAssert (NO , errorMessage);
@@ -561,11 +561,10 @@ - (void)openDatabase {
561561 }
562562 } else {
563563 NSString *errorString = FIRMessagingStringFromSQLiteResult (result);
564- NSString *errorMessage =
565- [NSString stringWithFormat:
566- @" Could not open RMQ database at path %@ , error: %@ . Won't delete the "
567- " database as it is not a corrupt database error." ,
568- path, errorString];
564+ NSString *errorMessage = [NSString stringWithFormat:
565+ @" Could not open RMQ database at path %@ , error: %@ . Won't delete the "
566+ @" database as it is not a corrupt database error." ,
567+ path, errorString];
569568 FIRMessagingLoggerError (kFIRMessagingMessageCodeRmq2PersistentStoreErrorOpeningDatabase ,
570569 @" %@ " , errorMessage);
571570 NSAssert (NO , errorMessage);
0 commit comments