summaryrefslogtreecommitdiff
path: root/clients
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2015-12-07 10:51:49 +0100
committerLubomir Rintel <lkundrak@v3.sk>2015-12-07 10:51:49 +0100
commit4ffed2795950a7174eaff4079d57cccd276dfae8 (patch)
tree14898679f5b4959a27bb0a408a34b0aa87389e93 /clients
parentfccd48fce84f58f8898105338e2beb966c39c4aa (diff)
downloadNetworkManager-4ffed2795950a7174eaff4079d57cccd276dfae8.tar.gz
cli: improve the error reporting a bit
Diffstat (limited to 'clients')
-rw-r--r--clients/cli/connections.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/clients/cli/connections.c b/clients/cli/connections.c
index 870b61ff0e..1cdfadf26e 100644
--- a/clients/cli/connections.c
+++ b/clients/cli/connections.c
@@ -10204,7 +10204,8 @@ do_connection_export (NmCli *nmc, int argc, char **argv)
/* Export VPN configuration */
plugin = nm_vpn_get_plugin_by_service (type, &error);
if (!plugin) {
- g_string_printf (nmc->return_text, _("Error: failed to load VPN plugin."));
+ g_string_printf (nmc->return_text, _("Error: failed to load VPN plugin: %s."),
+ error->message);
nmc->return_value = NMC_RESULT_ERROR_UNKNOWN;
goto finish;
}