diff options
author | Jonathon Jongsma <jjongsma@redhat.com> | 2016-08-11 13:14:50 -0500 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2016-08-12 09:59:39 +0100 |
commit | 572370ad3a8bcc980e6004f025b3d71f98348110 (patch) | |
tree | 3d947bd354d86f4112047d730d6f40184e2d7ee0 | |
parent | 266414762027312fedc0a0c1d7c085c7e219b39a (diff) |
Improve file transfer error messages
In preparation for potentially displaying error messages to a user in a
UI, I thought I'd improve the messages slightly.
Acked-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r-- | src/channel-main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/channel-main.c b/src/channel-main.c index a074928..1ea0f71 100644 --- a/src/channel-main.c +++ b/src/channel-main.c @@ -1854,11 +1854,11 @@ static void main_agent_handle_xfer_status(SpiceMainChannel *channel, return; case VD_AGENT_FILE_XFER_STATUS_CANCELLED: error = g_error_new(SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, - "transfer is cancelled by spice agent"); + "The spice agent cancelled the file transfer"); break; case VD_AGENT_FILE_XFER_STATUS_ERROR: error = g_error_new(SPICE_CLIENT_ERROR, SPICE_CLIENT_ERROR_FAILED, - "some errors occurred in the spice agent"); + "The spice agent reported an error during the file transfer"); break; case VD_AGENT_FILE_XFER_STATUS_SUCCESS: break; |