Skip to content

Commit

Permalink
Improving message
Browse files Browse the repository at this point in the history
  • Loading branch information
elorzafe committed Aug 16, 2019
1 parent c032738 commit 6a483a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/pubsub/src/Providers/AWSAppSyncProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ export class AWSAppSyncProvider extends MqttOverWSProvider {
url,
});
} catch (err) {
observer.error('Failed to connect');
observer.error({ message: 'Failed to connect', error: err });
observer.complete();
return undefined;
}
Expand Down

0 comments on commit 6a483a8

Please sign in to comment.