From c3d6f0e1df482f207d0c061465361853c444aad8 Mon Sep 17 00:00:00 2001 From: Marc-André Lureau Date: Mon, 23 Sep 2013 21:57:11 +0200 Subject: spicec: do not abort if cache error --- client/cache.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'client') diff --git a/client/cache.hpp b/client/cache.hpp index e267f427..7dce6715 100644 --- a/client/cache.hpp +++ b/client/cache.hpp @@ -45,7 +45,8 @@ public: while (*item) { if ((*item)->id == id) { - THROW("%s id %" PRIu64 ", double insert", Treat::name(), id); + spice_printerr("%s id %" PRIu64 ", double insert", Treat::name(), id); + return; } item = &(*item)->next; } -- cgit