Skip to content

Commit 7ddbb42

Browse files
authored
Print out counter error message. (#5552)
* Print out counter error message. * style
1 parent 8633f5f commit 7ddbb42

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

GoogleDataTransport/GDTCORLibrary/GDTCOREvent.m

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,8 @@ + (NSNumber *)nextEventID {
5656
atomically:YES
5757
encoding:NSUTF8StringEncoding
5858
error:&error];
59-
GDTCORAssert(error == nil, @"There was an error saving the new counter value to disk.");
59+
GDTCORAssert(error == nil, @"There was an error saving the new counter value to disk: %@",
60+
error);
6061
});
6162
return result;
6263
}

0 commit comments

Comments
 (0)