mirror of
https://github.com/zkldi/Tachi.git
synced 2026-10-12 09:18:25 +03:00
shut up dependabot
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import winston, { format, LeveledLogMethod, Logger, transports } from "winston";
|
||||
import winston, { format, transports } from "winston";
|
||||
import { ImportTypes, PublicUserDocument } from "kamaitachi-common";
|
||||
import { FormatUserDoc } from "./core/format-user";
|
||||
import { KtLogger } from "./types";
|
||||
|
||||
@@ -213,10 +213,10 @@ async function EamScoreConverterWrapper(
|
||||
return err;
|
||||
} else if (err instanceof ScoreImportFatalError) {
|
||||
throw err; // throw it all the way up.
|
||||
} else {
|
||||
logger.error(`Unknown error: `, { err });
|
||||
return new InternalFailure("An unknown internal failure has occured.");
|
||||
}
|
||||
|
||||
logger.error(`Unknown error: `, { err });
|
||||
return new InternalFailure("An unknown internal failure has occured.");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user