Skip to content

Commit f5deafb

Browse files
committedJun 20, 2016
browser: add a debug message for OSError on HDF5 open
1 parent 9ad6287 commit f5deafb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed
 

Diff for: ‎artiq/browser/files.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@ def open_h5(info):
1717
try:
1818
return h5py.File(info.filePath(), "r")
1919
except OSError: # e.g. file being written (see #470)
20-
return
20+
logger.debug("OSError when opening HDF5 file %s", info.filePath(),
21+
exc_info=True)
2122
except:
2223
logger.warning("unable to read HDF5 file %s", info.filePath(),
2324
exc_info=True)

0 commit comments

Comments
 (0)
Please sign in to comment.