diff --git a/src/anyvar/restapi/main.py b/src/anyvar/restapi/main.py index 78fa6a1..7676cb4 100644 --- a/src/anyvar/restapi/main.py +++ b/src/anyvar/restapi/main.py @@ -205,7 +205,7 @@ async def annotate_vcf( return {"error": "VCF registration failed."} except ValueError as e: _logger.error(f"Encountered error during VCF registration: {e}") - return {"error": f"Encountered error ({e}) when registering VCF"} + return {"error": "Encountered ValueError when registering VCF"} return FileResponse(temp_out_file.name)