From: Michael J. Rubinsky Date: Wed, 7 Jul 2010 22:48:20 +0000 (-0400) Subject: The only expected exception here would be a Horde_Exception_Not_Found. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=dd51814c9e217aafa20b3660a98050f64a6e92b9;p=horde.git The only expected exception here would be a Horde_Exception_Not_Found. Any other exception should be an error. --- 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();