Change-Id: I4469d4738aa8bd37cc8bb9184fd73b82291e2c03
Signed-off-by: Kerim Gokarslan <kgokarsl@cisco.com>
import json
import Queue
-import traceback
import uuid
from flask import Flask
self.fluent_logger.start_new_run()
results = self.nfvbench_runner.run(config, config)
except Exception as exc:
- print 'NFVbench runner exception:'
- traceback.print_exc()
results = result_json(STATUS_ERROR, str(exc))
- LOG.exception()
+ LOG.exception('NFVbench runner exception:')
if Ctx.request_from_socketio:
socketio.emit('run_end', results)