Skip to content

Commit f6d35fb

Browse files
committed
add filenotfounderror to tuple of handled errors
1 parent d670b30 commit f6d35fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/zarr/api/asynchronous.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ async def open(
306306

307307
try:
308308
return await open_array(store=store_path, zarr_format=zarr_format, **kwargs)
309-
except (KeyError, NodeTypeValidationError):
309+
except (KeyError, FileNotFoundError, NodeTypeValidationError):
310310
# KeyError for a missing key
311311
# FileNotFoundError for missing key as well.
312312
# TODO: consolidate these exceptions

0 commit comments

Comments
 (0)