Private
Public Access
1
0

fixes for RunGap

This commit is contained in:
2024-12-09 20:46:10 +01:00
parent 0e8c0f1ad1
commit 2b9e2c1dfd
2 changed files with 7 additions and 1 deletions

Binary file not shown.

View File

@@ -579,7 +579,13 @@ def strokedata_fit(request):
try:
# Parse the FIT file
row = FP(fit_filename)
try:
row = FP(fit_filename)
except ValueError as e:
return JsonResponse({
"status": "error",
"message": f"An error occurred while parsing the FIT file: {str(e)}"
}, status=500)
rowdata = rowingdata(df=row.df)