We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9a317c4 commit 33514aeCopy full SHA for 33514ae
1 file changed
src/wristpy/io/readers/readers.py
@@ -47,7 +47,10 @@ def read_watch_data(
47
data = actfast.read(file_name, lenient=True)
48
warnings = data.get("warnings", [])
49
if warnings:
50
- logger.warning(f"Recovered partial data with {len(warnings)} warnings")
+ logger.warning(
51
+ f"Recovered partial data for {file_name} "
52
+ f"with {len(warnings)} warnings."
53
+ )
54
except Exception as e:
55
raise IOError(f"Error reading file: {e}. File type is unsupported.") from e
56
0 commit comments