diff options
author | Joel Fischer <joeljfischer@gmail.com> | 2020-10-14 14:09:10 -0400 |
---|---|---|
committer | Joel Fischer <joeljfischer@gmail.com> | 2020-10-14 14:09:10 -0400 |
commit | a45b8eace6596eb4e034a697441efc9f1ff316b9 (patch) | |
tree | 1dcd0c1d82ce53e268b60d9daac747dcb4d4b2f1 | |
parent | c15eefb2c37a76a155016cbb407db7adf9bf6f28 (diff) | |
download | sdl_ios-a45b8eace6596eb4e034a697441efc9f1ff316b9.tar.gz |
Attempted fix
-rw-r--r-- | SmartDeviceLink/private/NSBundle+SDLBundle.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/SmartDeviceLink/private/NSBundle+SDLBundle.m b/SmartDeviceLink/private/NSBundle+SDLBundle.m index 0977bf459..16c5d72c1 100644 --- a/SmartDeviceLink/private/NSBundle+SDLBundle.m +++ b/SmartDeviceLink/private/NSBundle+SDLBundle.m @@ -27,9 +27,9 @@ NS_ASSUME_NONNULL_BEGIN if (!sdlBundle.isLoaded) { NSError *error = nil; - BOOL success = [sdlBundle loadAndReturnError:&error]; + [sdlBundle loadAndReturnError:&error]; if (error != nil) { - [NSException exceptionWithName:NSInternalInconsistencyException reason:@"SDL WARNING: The 'SmartDeviceLink.bundle' resources bundle could not be loaded. If you are using cocoapods. You may disable the lockscreen in configuration to prevent this failure, for now." userInfo:nil]; + @throw [NSException exceptionWithName:NSInternalInconsistencyException reason:@"error" userInfo:nil]; } } } |