Commit 4ffed279 authored by Lubomir Rintel's avatar Lubomir Rintel

cli: improve the error reporting a bit

parent fccd48fc
......@@ -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;
}
......
Markdown is supported
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