Skip to content

Commit

Permalink
Merge pull request #890 from Coeur/AWSTask
Browse files Browse the repository at this point in the history
method is expected to return a non-null value
  • Loading branch information
Karthikeyan authored Apr 27, 2018
2 parents e3269b0 + 71908e5 commit 3f48ea2
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 3f48ea2

Please sign in to comment.