Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaMan123 committed Sep 23, 2023
1 parent 1ab219f commit e44e899
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/util/internals/console.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
export const log = (
severity: 'log' | 'warn' | 'error',
message: string | Error
...optionalParams: any[]
) =>
// eslint-disable-next-line no-restricted-syntax
console[severity]('fabric', message);
console[severity]('fabric', ...optionalParams);

export class FabricError extends Error {
constructor(message?: string, options?: ErrorOptions) {
Expand Down

0 comments on commit e44e899

Please sign in to comment.