Skip to content

Commit

Permalink
vs: don't throw an exception when metadata file doesn't exist
Browse files Browse the repository at this point in the history
the metadata file doesn't exist on pizza box vs platforms.

Signed-off-by: Wataru Ishida <[email protected]>
  • Loading branch information
ishidawataru committed Dec 12, 2024
1 parent 2b92c3d commit 1592188
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@ def _read_metadata(self):
if os.path.exists(self.metadata_file):
with open(self.metadata_file, 'r') as f:
metadata = json.load(f)
else:
raise FileNotFoundError("Metadata file {} not found".format(self.metadata_file))
return metadata

def get_supervisor_slot(self):
Expand Down

0 comments on commit 1592188

Please sign in to comment.