X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=nfvbench%2Fnfvbenchd.py;h=76906c58b5576c01050eb7baea831d7c8598f246;hb=253c4a3b60238365cfce730647dec67e3f94a575;hp=47727000b71cf9630d27e22ca5076b40129de595;hpb=2166a5e747c76a61b54b71c880b75c8f9cd5f948;p=nfvbench.git diff --git a/nfvbench/nfvbenchd.py b/nfvbench/nfvbenchd.py index 4772700..76906c5 100644 --- a/nfvbench/nfvbenchd.py +++ b/nfvbench/nfvbenchd.py @@ -16,7 +16,6 @@ import json import Queue -import traceback import uuid from flask import Flask @@ -236,10 +235,8 @@ class WebSocketIoServer(object): 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)