Skip to content

Commit

Permalink
Improve missing file/dir error for sos-schema --export
Browse files Browse the repository at this point in the history
  • Loading branch information
tom95858 committed Sep 13, 2024
1 parent fa95ced commit be5bff4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sos/python/sos-schema
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ if __name__ == "__main__":
if args.export_path:
try:
sdir = Sos.export_schema(args.path, args.export_path)
except:
print(f"Error accessing container '{args.path}'")
except Exception as e:
print(f"{e}")
sys.exit(1)
sys.exit(0)

Expand Down

0 comments on commit be5bff4

Please sign in to comment.