diff options
Diffstat (limited to 'vnfs/DAaaS/microservices')
-rw-r--r-- | vnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/src/producer/CustomKafkaProducer.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/src/producer/CustomKafkaProducer.py b/vnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/src/producer/CustomKafkaProducer.py index 43303761..6de868b7 100644 --- a/vnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/src/producer/CustomKafkaProducer.py +++ b/vnfs/DAaaS/microservices/PythonApps/python-kafkaConsumer-inference-app/src/producer/CustomKafkaProducer.py @@ -23,8 +23,7 @@ class CustomKafkaProducer: ) self.producer.flush() - except Exception as e: - #print("Error during producing to kafka topic. Stacktrace is %s",e) + except Exception: logging.error("Error during producing to kafka topic.") traceback.print_exc() |