summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 0256040b7..ad580dcc3 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -548,7 +548,8 @@ function user_save($account, $edit = array(), $category = 'account') {
return $user;
}
catch (Exception $e) {
- $transaction->rollback('user', $e->getMessage(), array(), WATCHDOG_ERROR);
+ $transaction->rollback();
+ watchdog_exception('user', $e);
throw $e;
}
}