From 238686cddccc00079d64d663240a327acd86b9d8 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Fri, 29 Jun 2018 15:33:27 +0800 Subject: [PATCH] src/strip.vala --- src/strip.vala | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/strip.vala b/src/strip.vala index 5b55d52..fbd39d4 100644 --- a/src/strip.vala +++ b/src/strip.vala @@ -372,7 +372,8 @@ public class Strip : GLib.Object { // that should wipe out dupes. var matches = this.execute("SELECT count(id) FROM Attachment WHERE id = %d".printf( int.parse(sid))); - + GLib.error("Got Matches :%s", matches); + if (matches=="0") { GLib.error("Failed to find id :%s", sid); return; -- 2.39.2