Skip to content

Commit

Permalink
minor fix [skip ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
gornostal committed Apr 30, 2017
1 parent 3a9267a commit 7f09947
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ulauncher/ui/windows/PreferencesUlauncherDialog.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def on_scheme_callback(self, schemeRequest):
resp = rt.dispatch(self, schemeRequest.get_uri())
callback = '%s(%s);' % (callback_name, json.dumps(resp))
except PrefsApiError as e:
callback = '%s(null, %s);' % (callback_name, json.dumps(e))
callback = '%s(null, %s);' % (callback_name, json.dumps(e.message))
except Exception as e:
message = 'Unexpected API error. %s: %s' % (type(e).__name__, e.message)
callback = '%s(null, %s);' % (callback_name, json.dumps(message))
Expand Down

0 comments on commit 7f09947

Please sign in to comment.