From: Jean-Philippe Orsini Date: Wed, 27 Nov 2013 07:20:51 +0000 (+0000) Subject: fixed error message displayed when a note does not exist. X-Git-Tag: v0.0.6~78 X-Git-Url: http://git.wpitchoune.net/gitweb/?p=ptask.git;a=commitdiff_plain;h=ce7497e25edfc10304e38edbf206566ad4548dee fixed error message displayed when a note does not exist. --- diff --git a/NEWS b/NEWS index 5232c93..ca0257e 100644 --- a/NEWS +++ b/NEWS @@ -13,6 +13,7 @@ v0.0.4 * added support for taskwarrior 2.2.0 (avoid confirmation query). * added window position and size restore. * added tasks sort column/order restore. + * fixed error message displayed when a note does not exist. v0.0.3 ------ diff --git a/src/note.c b/src/note.c index 2fcb51f..f5e3a91 100644 --- a/src/note.c +++ b/src/note.c @@ -100,7 +100,7 @@ char *note_get(const char *uuid) } fclose(f); } else { - log_err("Failed to open %s", path); + log_debug("%s does not exist or cannot be opened", path); } return str;