Skip to content

Commit

Permalink
fix(datastore): use error description to produce clearer error info (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
5d authored Jun 3, 2024
1 parent 3ee1924 commit c0ba0ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ final class IncomingAsyncSubscriptionEventToAnyModelMapper: Subscriber, AmplifyC
case .success(let mutationSync):
modelsFromSubscription.send(.payload(mutationSync))
case .failure(let failure):
log.error(error: failure)
log.error(failure.errorDescription)
}
}

Expand Down

0 comments on commit c0ba0ae

Please sign in to comment.