Skip to content

Commit

Permalink
Merge pull request #1440 from smartdevicelink/bugfix/issue-1439-addit…
Browse files Browse the repository at this point in the history
…ional-incorrect-type-information

Add additional type information in assert
  • Loading branch information
joeljfischer committed Oct 16, 2019
2 parents 8df28ca + a299837 commit 401ebb3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SmartDeviceLink/NSMutableDictionary+Store.m
Expand Up @@ -55,7 +55,7 @@ - (nullable id)sdl_objectForName:(SDLRPCParameterName)name ofClass:(Class)classT
// The object in the store is not correct, we'll assert in debug and return an error and nil
NSError *wrongObjectError = [NSError sdl_rpcStore_invalidObjectErrorWithObject:obj expectedType:classType];

SDLLogAssert(@"Retrieving object from store error: %@", wrongObjectError.localizedFailureReason);
SDLLogAssert(@"Retrieving object from store error: %@, for object key: \"%@\", in dictionary: %@", wrongObjectError.localizedFailureReason, name, self);

if (error) {
*error = wrongObjectError;
Expand Down

0 comments on commit 401ebb3

Please sign in to comment.