changeset 621:9893c2fc846b

removed raise from log user action
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 19 Oct 2010 00:56:18 +0200
parents 19a62a5490fe
children a5b1f33dcad6
files rhodecode/lib/utils.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/lib/utils.py	Tue Oct 19 00:55:05 2010 +0200
+++ b/rhodecode/lib/utils.py	Tue Oct 19 00:56:18 2010 +0200
@@ -88,10 +88,10 @@
         user_log.user_ip = ipaddr
         sa.add(user_log)
         sa.commit()
+
         log.info('Adding user %s, action %s on %s',
                                         user.username, action, repo)
     except Exception, e:
-        raise
         sa.rollback()
         log.error('could not log user action:%s', str(e))