##// END OF EJS Templates
admin: store client in ops error to track excessive user details triggering this error....
marcink -
r3324:8ec127fe default
parent child Browse files
Show More
@@ -65,11 +65,13 b' class OpsView(BaseAppView):'
65 65 """
66 66 Test exception handling and emails on errors
67 67 """
68
68 69 class TestException(Exception):
69 70 pass
70
71 # add timeout so we add some sort of rate limiter
72 time.sleep(2)
71 73 msg = ('RhodeCode Enterprise test exception. '
72 'Generation time: {}'.format(time.time()))
74 'Client:{}. Generation time: {}.'.format(self.request.user, time.time()))
73 75 raise TestException(msg)
74 76
75 77 @view_config(
General Comments 0
You need to be logged in to leave comments. Login now