summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Fischer <joeljfischer@gmail.com>2020-10-14 14:09:10 -0400
committerJoel Fischer <joeljfischer@gmail.com>2020-10-14 14:09:10 -0400
commita45b8eace6596eb4e034a697441efc9f1ff316b9 (patch)
tree1dcd0c1d82ce53e268b60d9daac747dcb4d4b2f1
parentc15eefb2c37a76a155016cbb407db7adf9bf6f28 (diff)
downloadsdl_ios-a45b8eace6596eb4e034a697441efc9f1ff316b9.tar.gz
Attempted fix
-rw-r--r--SmartDeviceLink/private/NSBundle+SDLBundle.m4
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];
}
}
}