diff --git a/includes/registry.inc b/includes/registry.inc index 99fbfef637a..04f9874ac64 100644 --- a/includes/registry.inc +++ b/includes/registry.inc @@ -98,7 +98,8 @@ function _registry_update() { _registry_check_code(REGISTRY_RESET_LOOKUP_CACHE); } catch (Exception $e) { - $transaction->rollback('registry', $e->getMessage(), array(), WATCHDOG_ERROR); + $transaction->rollback(); + watchdog_exception('registry', $e); throw $e; }