Skip to content

Commit

Permalink
umu_run: update log statements
Browse files Browse the repository at this point in the history
  • Loading branch information
R1kaB3rN committed Jul 9, 2024
1 parent a7717a0 commit 8d81e87
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions umu/umu_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,9 +523,8 @@ def get_gamescope_baselayer_order() -> list[int] | None: # noqa: D103
return prop.value # type: ignore
log.debug("GAMESCOPECTRL_BASELAYER_APPID property not found")
except Exception as e:
log.exception(
"Error getting GAMESCOPECTRL_BASELAYER_APPID property: %s", e
)
log.error("Error getting GAMESCOPECTRL_BASELAYER_APPID property")
log.exception(e)
finally:
d.close()

Expand Down Expand Up @@ -562,9 +561,8 @@ def set_gamescope_baselayer_order(rearranged: list[int]) -> None: # noqa
", ".join(map(str, rearranged)),
)
except Exception as e:
log.exception(
"Error setting GAMESCOPECTRL_BASELAYER_APPID property: %s", e
)
log.error("Error setting GAMESCOPECTRL_BASELAYER_APPID property")
log.exception(e)
finally:
d.close()

Expand Down

0 comments on commit 8d81e87

Please sign in to comment.