summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-20 08:25:30 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-04-20 08:25:30 +0000
commit894e35723c176c7d3e72b78403e217466e434d14 (patch)
tree4fa441bb42e9cf24a250c06c5672f30afdc39c55 /modules/user/user.module
parenta862d3aeadf1dfda5eb94d3fca9244de3f44744d (diff)
downloadbrdo-894e35723c176c7d3e72b78403e217466e434d14.tar.gz
brdo-894e35723c176c7d3e72b78403e217466e434d14.tar.bz2
#770836 by jpmckinney: Fixed user_save() fails silently.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index 26d9edfdd..2d23929bd 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -525,6 +525,7 @@ function user_save($account, $edit = array(), $category = 'account') {
}
catch (Exception $e) {
$transaction->rollback('user', $e->getMessage(), array(), WATCHDOG_ERROR);
+ throw $e;
}
}