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,
}
except:
messages.error(request,
'We have a temporary problem to connect to our backend. \
Please try again in a few minutes'
)
messages.error(
request,
'We have a temporary problem to connect to our backend. \
Please try again in a few minutes'
)
context = {
'error': 'connection'
}