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