mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 13:25:12 +00:00
fix(server): log error on gcloud (#10235)
This commit is contained in:
@@ -8,6 +8,10 @@ export class AFFiNELogger extends WinstonLogger {
|
||||
stackOrError?: Error | string | unknown,
|
||||
context?: string
|
||||
) {
|
||||
RawAFFiNELogger.prototype.error.call(this, message, stackOrError, context);
|
||||
super.error(
|
||||
message,
|
||||
RawAFFiNELogger.formatStack(stackOrError) as string,
|
||||
context
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user