Add test for version syncing unicode
@@ -132,8 +132,6 @@ class ProjectViewSet(viewsets.ModelViewSet):
log.exception("Sync Versions Error: %s" % e.message)
return Response({'error': e.message}, status=status.HTTP_400_BAD_REQUEST)
- try:
- old_stable = project.get_stable_version()
promoted_version = project.update_stable_version()
if promoted_version:
new_stable = project.get_stable_version()
@@ -151,8 +149,6 @@ class ProjectViewSet(viewsets.ModelViewSet):
promoted_version.active = True
promoted_version.save()
trigger_build(project=project, version=promoted_version)
- except:
- log.exception("Stable Version Failure", exc_info=True)
return Response({
'added_versions': added_versions,
