Skip to content

Commit

Permalink
fix(@aws-amplify/datastore): log subscription error instead of throwi…
Browse files Browse the repository at this point in the history
…ng (#8229)
  • Loading branch information
amhinson authored May 5, 2021
1 parent 9314112 commit 403de44
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/datastore/src/sync/processors/subscription.ts
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,8 @@ class SubscriptionProcessor {
]
}`
);
throw message;
logger.warn(message);
return;
} else {
logger.debug(
`${operation} subscription failed with authMode: ${
Expand Down

0 comments on commit 403de44

Please sign in to comment.