} catch (Exception $e) {
Tinebase_TransactionManager::getInstance()->rollBack();
- Tinebase_Core::getLogger()->err(__METHOD__ . '::' . __LINE__ . ' ' . $e->getMessage());
- if (Tinebase_Core::isLogLevel(Zend_Log::DEBUG)) Tinebase_Core::getLogger()->debug(__METHOD__ . '::' . __LINE__ . ' ' . $e->getTraceAsString());
+ Tinebase_Exception::log($e);
throw $e;
}