Skip to content

Commit

Permalink
method is expected to return a non-null value
Browse files Browse the repository at this point in the history
  • Loading branch information
Coeur committed Apr 11, 2018
1 parent 1995537 commit 71908e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion AWSDynamoDB/AWSDynamoDBObjectMapper.m
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ - (AWSTask *)save:(AWSDynamoDBObjectModel<AWSDynamoDBModeling> *)model
default:
break;
}
return nil;
return [AWSTask taskWithError:[NSError errorWithDomain:AWSDynamoDBErrorDomain code:AWSDynamoDBErrorUnknown userInfo:nil]];
}

- (void)save:(AWSDynamoDBObjectModel<AWSDynamoDBModeling> *)model
Expand Down

0 comments on commit 71908e5

Please sign in to comment.