We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b49946 commit a2035d0Copy full SHA for a2035d0
packages/aws-appsync/src/link/subscription-handshake-link.ts
@@ -72,7 +72,7 @@ export class SubscriptionHandshakeLink extends ApolloLink {
72
errors: any[]
73
} = subsInfo;
74
75
- if (errors.length) {
+ if (errors && errors.length) {
76
return new Observable(observer => {
77
observer.error(new ApolloError({
78
errorMessage: 'Error during subscription handshake',
0 commit comments