Commit 78c88721 by Kálmán Viktor

dashboard: temporarily print exception

parent dbb37bcf
...@@ -244,7 +244,8 @@ class VmCreate(TemplateView): ...@@ -244,7 +244,8 @@ class VmCreate(TemplateView):
messages.success(request, _('VM successfully created!')) messages.success(request, _('VM successfully created!'))
except InstanceTemplate.DoesNotExist: except InstanceTemplate.DoesNotExist:
resp['error'] = True resp['error'] = True
except: except Exception, e:
print e
resp['error'] = True resp['error'] = True
if request.is_ajax(): if request.is_ajax():
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment