[recipes] Make a warning more helpful
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [recipes] Make a warning more helpful
- Date: Sun, 18 Jun 2017 18:10:51 +0000 (UTC)
commit 7305f777699591d6d16465061705e6c2c3df37c8
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Jun 18 13:48:11 2017 -0400
Make a warning more helpful
Mention the clashing id, so we have a chance to figure out
what is going wrong.
src/gr-recipe-store.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gr-recipe-store.c b/src/gr-recipe-store.c
index dc0b3d3..13eb3f7 100644
--- a/src/gr-recipe-store.c
+++ b/src/gr-recipe-store.c
@@ -1282,7 +1282,7 @@ gr_recipe_store_add_recipe (GrRecipeStore *self,
}
if (g_hash_table_contains (self->recipes, id)) {
g_set_error (error, G_IO_ERROR, G_IO_ERROR_FAILED,
- _("A recipe with this name and author already exists.\nPlease choose a
different name"));
+ _("A recipe with this name and author (%s) already exists.\nPlease choose a
different name"), id);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]