Skip to content

Commit 33514ae

Browse files
committed
Update readers.py
1 parent 9a317c4 commit 33514ae

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

src/wristpy/io/readers/readers.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,10 @@ def read_watch_data(
4747
data = actfast.read(file_name, lenient=True)
4848
warnings = data.get("warnings", [])
4949
if warnings:
50-
logger.warning(f"Recovered partial data with {len(warnings)} warnings")
50+
logger.warning(
51+
f"Recovered partial data for {file_name} "
52+
f"with {len(warnings)} warnings."
53+
)
5154
except Exception as e:
5255
raise IOError(f"Error reading file: {e}. File type is unsupported.") from e
5356

0 commit comments

Comments
 (0)