fixed error message displayed when a note does not exist.
authorJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 27 Nov 2013 07:20:51 +0000 (07:20 +0000)
committerJean-Philippe Orsini <jeanfi@gmail.com>
Wed, 27 Nov 2013 07:20:51 +0000 (07:20 +0000)
NEWS
src/note.c

diff --git a/NEWS b/NEWS
index 5232c93..ca0257e 100644 (file)
--- 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
 ------
index 2fcb51f..f5e3a91 100644 (file)
@@ -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;