From 0826e782665b75b022d494c1a39c95d2fc8536eb Mon Sep 17 00:00:00 2001 From: "Reynaldo H. Verdejo Pinochet" Date: Sun, 10 Apr 2016 18:58:33 -0700 Subject: [PATCH] dvb/parsechannels: add information to file not found error Adds useful failure info (like filename) comming from g_file_get_contents() as done for every other error in this block. --- sys/dvb/parsechannels.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/dvb/parsechannels.c b/sys/dvb/parsechannels.c index 1d30580907..90c5838408 100644 --- a/sys/dvb/parsechannels.c +++ b/sys/dvb/parsechannels.c @@ -162,7 +162,7 @@ parse_channels_conf_from_file (GstElement * dvbbasebin, const gchar * filename, open_fail: if (err->code == G_FILE_ERROR_NOENT) { g_set_error (error, GST_RESOURCE_ERROR, GST_RESOURCE_ERROR_NOT_FOUND, - _("Couldn't find DVB channel configuration file")); + _("Couldn't find DVB channel configuration file: %s"), err->message); } else { g_set_error (error, GST_RESOURCE_ERROR, GST_RESOURCE_ERROR_READ, _("Couldn't load DVB channel configuration file: %s"), err->message);