Skip to content

Commit 6e4e3f8

Browse files
committed
fix: better logging when error
1 parent f688a35 commit 6e4e3f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/src/mothership/graphql-client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ export class GraphQLClient {
188188
);
189189
});
190190
GraphQLClient.client.on('error', (err) => {
191-
console.log('error', err);
191+
minigraphLogger.error('GraphQL Client Error: %o', err);
192192
})
193193
GraphQLClient.client.on('connected', () => {
194194
store.dispatch(

0 commit comments

Comments
 (0)