diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2015-12-07 10:51:49 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2015-12-07 10:51:49 +0100 |
commit | 4ffed2795950a7174eaff4079d57cccd276dfae8 (patch) | |
tree | 14898679f5b4959a27bb0a408a34b0aa87389e93 /clients | |
parent | fccd48fce84f58f8898105338e2beb966c39c4aa (diff) | |
download | NetworkManager-4ffed2795950a7174eaff4079d57cccd276dfae8.tar.gz |
cli: improve the error reporting a bit
Diffstat (limited to 'clients')
-rw-r--r-- | clients/cli/connections.c | 3 |
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; } |