diff --git a/packages/backend/src/logger.ts b/packages/backend/src/logger.ts index c24c1419c2..3b20ae5df0 100644 --- a/packages/backend/src/logger.ts +++ b/packages/backend/src/logger.ts @@ -19,7 +19,7 @@ type Context = { type Level = 'error' | 'success' | 'warning' | 'debug' | 'info'; type Data = DataElement | DataElement[]; -type DataElement = Record | string | null; +type DataElement = Record | Error | string | null; // eslint-disable-next-line import/no-default-export export default class Logger {