fix: eslint
This commit is contained in:
parent
5bfaaea1c2
commit
51a076d02a
1 changed files with 1 additions and 1 deletions
|
@ -124,7 +124,7 @@ function initRPC(clientID: string): void {
|
|||
if (reconnectCounter >= config.get('reconnectThreshold')) destroyRPC();
|
||||
else return;
|
||||
}
|
||||
if(!config.get('silent')) {
|
||||
if (!config.get('silent')) {
|
||||
if (error.message.includes('ENOENT')) window.showErrorMessage('No Discord Client detected!');
|
||||
else window.showErrorMessage(`Couldn't connect to discord via rpc: ${error.message}`);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue