Skip to content

Commit

Permalink
cli: avoid crashing when sdk update throws an exception
Browse files Browse the repository at this point in the history
  • Loading branch information
imLinguin committed May 25, 2024
1 parent e066790 commit 6e6968c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion nile/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,11 @@ def __init__(
self.unknown_arguments = unknown_arguments

self.self_update = self_update.SelfUpdateHandler(self.session, self.library_manager)
self.self_update.get_sdk()
try:
self.self_update.get_sdk()
except Exception:
self.logger.warning("There was an error getting sdk")

self.__migrate_old_ids()

# Function that migrates installed and manifests from old id to product.id
Expand Down
1 change: 0 additions & 1 deletion nile/utils/launch.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,6 @@ def start(self, game_path):
'AMAZON_GAMES_FUEL_DISPLAY_NAME': display_name
})

print(self.env)

command = list()
if self.wrapper:
Expand Down

0 comments on commit 6e6968c

Please sign in to comment.