diff --git a/includes/registry.inc b/includes/registry.inc
index 99fbfef637adb2c89546baa5cd3554d91720e49b..04f9874ac646415adf9c85fd40bdd6cfec547973 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;
   }