added cleared exception logging for booting services and fixed rest issue with loading an xml file
This commit is contained in:
parent
eec7fbb213
commit
348f208d4d
2 changed files with 7 additions and 1 deletions
|
@ -171,6 +171,8 @@ def save_xml(session_id):
|
|||
@app.route("/sessions/xml", methods=["POST"])
|
||||
def open_xml():
|
||||
session = coreemu.create_session()
|
||||
session.set_state(EventTypes.CONFIGURATION_STATE)
|
||||
|
||||
logger.info("open xml: %s", request.files)
|
||||
_, temp_path = tempfile.mkstemp()
|
||||
session_file = request.files['session']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue