style: change string for error message
This commit is contained in:
parent
ff7e8a19ac
commit
fd5a243683
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ function initRPC(clientID: string): void {
|
|||
rpc.login(clientID).catch(error => {
|
||||
if (reconnect && !error.message.includes('ENOENT')) return;
|
||||
if (error.message.includes('ENOENT')) window.showErrorMessage('No Discord Client detected!');
|
||||
else window.showErrorMessage(`Could not connect to discord via rpc: ${error.message}`);
|
||||
else window.showErrorMessage(`Couldn't connect to discord via rpc: ${error.message}`);
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue