Skip to content

Commit

Permalink
add missing var for error logging
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@13819 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Sep 22, 2016
1 parent 44e95af commit 53a219e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/xpra/platform/darwin/gui.py
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ def recttotuple(r):
try:
modes = CG.CGDisplayCopyAllDisplayModes(did, None)
info["modes"] = get_display_modes_info(modes)
except:
except Exception as e:
log("failed to query display modes: %s", e)
return info

Expand Down

0 comments on commit 53a219e

Please sign in to comment.