Skip to content
Commit 1411ba95 authored by Christophe Fergeau's avatar Christophe Fergeau
Browse files

Don't pass GError::message directly to got_error

The error message stored in a GError generally comes from underlying
libraries, and is not good enough to be shown to the user most of
the time. This commit replaces uses of got_error with GError::message
with more generic messages complemented by a debug() with the
actual error message.

I noticed this after getting a
"Error connecting XXX: no free USB channel" in the UI when trying to
redirect an USB device.

https://bugzilla.gnome.org/show_bug.cgi?id=695111
parent 5b563dd4
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment