mirror of
https://github.com/flatpak/flatpak.git
synced 2026-04-10 09:57:34 -04:00
Don't include newlines in error messages
(cherry picked from commit d2307ca8b1)
This commit is contained in:
committed by
Alexander Larsson
parent
ae45231173
commit
48e0543661
@@ -844,7 +844,7 @@ flatpak_installation_list_installed_refs_for_update (FlatpakInstallation *self,
|
||||
}
|
||||
else
|
||||
{
|
||||
g_debug ("Update: Failed to read remote %s: %s\n",
|
||||
g_debug ("Update: Failed to read remote %s: %s",
|
||||
flatpak_remote_get_name (remote),
|
||||
local_error->message);
|
||||
}
|
||||
@@ -1790,7 +1790,7 @@ flatpak_installation_fetch_remote_ref_sync (FlatpakInstallation *self,
|
||||
return flatpak_remote_ref_new (ref, checksum, remote_name);
|
||||
|
||||
g_set_error (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND,
|
||||
"Reference %s doesn't exist in remote\n", ref);
|
||||
"Reference %s doesn't exist in remote", ref);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user