mirror of
https://github.com/lutris/lutris
synced 2024-11-02 08:20:51 +00:00
Write more useful error message
This commit is contained in:
parent
d5b2b91128
commit
6c8f67d578
1 changed files with 1 additions and 1 deletions
|
@ -768,7 +768,6 @@ class LutrisWindow(Gtk.ApplicationWindow): # pylint: disable=too-many-public-me
|
|||
else:
|
||||
game = games_db.get_game_by_field(int(game_id), "id")
|
||||
if not game:
|
||||
logger.warning("Inspect this...")
|
||||
game = {
|
||||
"id": game_id,
|
||||
"appid": game_id,
|
||||
|
@ -776,6 +775,7 @@ class LutrisWindow(Gtk.ApplicationWindow): # pylint: disable=too-many-public-me
|
|||
"slug": game_id,
|
||||
"service": self.service.id if self.service else None,
|
||||
}
|
||||
logger.warning("No game found. Replacing with placeholder %s", game)
|
||||
|
||||
GLib.idle_add(self.update_revealer, game)
|
||||
return False
|
||||
|
|
Loading…
Reference in a new issue