Skip to content

Commit d1aaebf

Browse files
authored
Do not force registry err (#1804)
1 parent 7e4da51 commit d1aaebf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fsspec/registry.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ def get_filesystem_class(protocol):
248248
try:
249249
register_implementation(protocol, _import_class(bit["class"]))
250250
except ImportError as e:
251-
raise ImportError(bit["err"]) from e
251+
raise ImportError(bit.get("err")) from e
252252
cls = registry[protocol]
253253
if getattr(cls, "protocol", None) in ("abstract", None):
254254
cls.protocol = protocol

0 commit comments

Comments
 (0)