Skip to content

Commit

Permalink
Update logged messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mdingena committed Apr 15, 2024
1 parent afb158f commit 191fff7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/Client/Client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,6 @@ export class Client extends TypedEmitter<Events> {
verbosity: configuredLogVerbosity
});

this.logger.info('Configuring client.');

/* Validate required configuration. */
if ('clientId' in config) {
if (
Expand Down Expand Up @@ -181,7 +179,7 @@ export class Client extends TypedEmitter<Events> {
}

this.readyState = ReadyState.Starting;
this.logger.info(`[CLIENT] Initialising.`);
this.logger.info(`[CLIENT] Initialising...`);

/* Configure access token and decoded token. */
const decodedToken = await this.refreshTokens();
Expand Down Expand Up @@ -421,7 +419,6 @@ export class Client extends TypedEmitter<Events> {
*/
private async addGroup(group: GroupInfo, member: GroupMemberInfo) {
if (Object.keys(this.groups).map(Number).includes(group.id)) {
this.logger.error(`[CLIENT] Can't manage group ${group.id} (${group.name}) more than once.`);
return;
}

Expand Down Expand Up @@ -480,7 +477,6 @@ export class Client extends TypedEmitter<Events> {
const group = this.groups[groupId];

if (typeof group === 'undefined') {
this.logger.error(`[CLIENT] Can't remove an unmanaged group with ID ${groupId}.`);
return;
}

Expand Down

0 comments on commit 191fff7

Please sign in to comment.