app: Update a FIXME comment to mention the upstream bug

And hence provide at least a little bit of hope that this doesn’t become
permanent technical debt.

Signed-off-by: Philip Withnall <withnall@endlessm.com>

Closes: #2296
Approved by: matthiasclasen
This commit is contained in:
Philip Withnall
2018-10-31 11:46:48 +00:00
committed by Atomic Bot
parent 7078a7f087
commit a478ee8de3

View File

@@ -90,8 +90,9 @@ get_remote_stores (GPtrArray *dirs, const char *arch, GCancellable *cancellable)
as_store_from_file (store, appstream_file, NULL, cancellable, &error);
if (error)
{
// We want to ignore this error as it is harmless and valid
// NOTE: appstream-glib doesn't have granular file-not-found error
/* We want to ignore this error as it is harmless and valid TODO
* FIXME: appstream-glib doesn't have granular file-not-found error
* See: https://github.com/hughsie/appstream-glib/pull/268 */
if (!g_str_has_suffix (error->message, "No such file or directory"))
g_warning ("%s", error->message);
g_clear_error (&error);