Skip to content

Commit

Permalink
this thing
Browse files Browse the repository at this point in the history
  • Loading branch information
catplvsplus committed Oct 7, 2023
1 parent c5b7e4c commit 6122993
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/client/src/classes/errors/BaseError.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { RestOrArray, normalizeArray } from 'discord.js';
import { CommandError } from './CommandError';
import { ModuleError } from './ModuleError';
import { kleur } from 'fallout-utility';
import stripAnsi from 'strip-ansi';
import { stripVTControlCharacters } from 'util';

// TODO: Remove this class

Expand Down Expand Up @@ -43,6 +43,6 @@ export abstract class BaseError<ErrorCodes extends BaseErrorCodes = BaseErrorCod
}

public toString(): string {
return stripAnsi(super.toString());
return stripVTControlCharacters(super.toString());
}
}

0 comments on commit 6122993

Please sign in to comment.