From dd51814c9e217aafa20b3660a98050f64a6e92b9 Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Wed, 7 Jul 2010 18:48:20 -0400 Subject: [PATCH] The only expected exception here would be a Horde_Exception_Not_Found. Any other exception should be an error. --- kronolith/lib/Api.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kronolith/lib/Api.php b/kronolith/lib/Api.php index 3a629291f..351cbb448 100644 --- a/kronolith/lib/Api.php +++ b/kronolith/lib/Api.php @@ -353,8 +353,7 @@ class Kronolith_Api extends Horde_Registry_Api // Don't change creator/owner. $event->creator = $existing_event->creator; - } catch (Kronolith_Exception $e) { - } + } catch (Horde_Exception_NotFound $e) {} // Save entry. $saved = $event->save(); -- 2.11.0