Fixed one more flake warning

This commit is contained in:
PCoder 2017-07-07 01:23:56 +05:30
parent ddacfeacf3
commit 67da139106

View file

@ -322,10 +322,11 @@ class WhyDataCenterLightView(IndexView):
'templates': VirtualMachineTemplateSerializer(templates, many=True).data, 'templates': VirtualMachineTemplateSerializer(templates, many=True).data,
} }
except: except:
messages.error(request, messages.error(
'We have a temporary problem to connect to our backend. \ request,
Please try again in a few minutes' 'We have a temporary problem to connect to our backend. \
) Please try again in a few minutes'
)
context = { context = {
'error': 'connection' 'error': 'connection'
} }