Commit a35124e3 authored by Christos Stavrakakis's avatar Christos Stavrakakis
Browse files

Fix bug in networks create

re-raise the exception after rolling back transaction
parent 341097f2
......@@ -224,6 +224,7 @@ def create_network(serials, request):
network.create_backend_network()
except:
transaction.rollback()
raise
else:
transaction.commit()
......
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 to comment