Add error message to logging.

This commit is contained in:
jarlob
2023-05-24 11:20:52 +02:00
parent 6f6c229ca3
commit 9bd852a71b

View File

@@ -634,7 +634,9 @@ export class VariantAnalysisManager
(e.code === "ETIMEDOUT" || e.code === "ECONNRESET")
) {
void extLogger.log(
`Timeout while trying to download variant analysis with id: ${variantAnalysis.id}. Retrying...`,
`Timeout while trying to download variant analysis with id: ${
variantAnalysis.id
}. Error: ${getErrorMessage(e)}. Retrying...`,
);
continue;
}