Skip to content

Commit

Permalink
Add error message for failing API
Browse files Browse the repository at this point in the history
  • Loading branch information
Hakanaou committed Sep 3, 2021
1 parent 9ad2585 commit 3b67388
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions deepLuna.py
Original file line number Diff line number Diff line change
Expand Up @@ -978,6 +978,7 @@ def translate_game(self):
self.finished_var = True
self.error = False
except:
print("ERROR: Previous API link not working any longer, trying the next one if there is one.")
self.j += 1
self.finished_var = False
self.error = True
Expand Down

0 comments on commit 3b67388

Please sign in to comment.