mirror of
https://github.com/unraid/api.git
synced 2025-12-31 13:39:52 -06:00
fix: better logging when error
This commit is contained in:
@@ -188,7 +188,7 @@ export class GraphQLClient {
|
||||
);
|
||||
});
|
||||
GraphQLClient.client.on('error', (err) => {
|
||||
console.log('error', err);
|
||||
minigraphLogger.error('GraphQL Client Error: %o', err);
|
||||
})
|
||||
GraphQLClient.client.on('connected', () => {
|
||||
store.dispatch(
|
||||
|
||||
Reference in New Issue
Block a user