Skip to content

Commit

Permalink
Add error at debug level
Browse files Browse the repository at this point in the history
  • Loading branch information
sbesson committed Dec 10, 2021
1 parent 6165582 commit d61e4d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ome_zarr/reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -543,8 +543,9 @@ def get_tile(tile_name: str) -> np.ndarray:

try:
data = self.zarr.load(path)
except ValueError:
except ValueError as e:
LOGGER.error(f"Failed to load {path}")
LOGGER.debug(f"{e}")
data = np.zeros(tile_shape, dtype=self.numpy_type)
return data

Expand Down

0 comments on commit d61e4d5

Please sign in to comment.