We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b513491 commit 4623375Copy full SHA for 4623375
reolinkfw/__main__.py
@@ -17,6 +17,8 @@ async def info(args: Namespace) -> None:
17
if args.json is None:
18
width = 21
19
for idx, info in enumerate(pak_infos):
20
+ if "error" in info:
21
+ raise Exception(info["error"])
22
info = Namespace(**info)
23
fs_types = set(fs["type"] for fs in info.filesystems)
24
fs_names = [fs["name"] for fs in info.filesystems]
0 commit comments