Skip to content

Commit

Permalink
refactor(mac): raise exception when unable to read kmx data
Browse files Browse the repository at this point in the history
  • Loading branch information
sgschantz committed Dec 3, 2024
1 parent 42ba0a4 commit 8bc144b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ -(void)loadKeyboardUsingCore:(NSString*) path {

if (dataError != nil) {
os_log_error([KMELogs coreLog], "loadKeyboardUsingCore, path: %{public}@\n dataError: %{public}@", path, dataError);
[NSException raise:@"LoadKeyboardException" format:@"%@", dataError];
} else {
NSUInteger dataLength = data.length;
os_log_info([KMELogs coreLog], "loadKeyboardUsingCore, path: %{public}@\n dataLength: %lu", path, dataLength);
Expand Down

0 comments on commit 8bc144b

Please sign in to comment.