##// END OF EJS Templates
celery: fix fork exception message formatting.
marcink -
r2459:8e6e54fd default
parent child Browse files
Show More
@@ -248,7 +248,7 b' def create_repo_fork(form_data, cur_user'
248
248
249 Session().commit()
249 Session().commit()
250 except Exception as e:
250 except Exception as e:
251 log.warning('Exception %s occurred when forking repository, '
251 log.warning('Exception occurred when forking repository, '
252 'doing cleanup...', exc_info=True)
252 'doing cleanup...', exc_info=True)
253 if isinstance(e, IntegrityError):
253 if isinstance(e, IntegrityError):
254 Session().rollback()
254 Session().rollback()
General Comments 0
You need to be logged in to leave comments. Login now