remove useless else

This commit is contained in:
Christopher Cooper
2021-11-16 21:48:39 -08:00
parent 6c3e78b439
commit e238825cf7
@@ -99,9 +99,8 @@ export function IIDXCSVParse(csvBuffer: Buffer, logger: KtLogger) {
} catch (e) {
if (e instanceof CSVParseError) {
throw new ScoreImportFatalError(400, e.message);
} else {
throw e;
}
throw e;
}
const { hasBeginnerAndLegg } = ResolveHeaders(rawHeaders, logger);