Skip to content

Commit 8af7837

Browse files
committed
change print to logging eveent in add_listener function.
1 parent f948f05 commit 8af7837

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ build
66
.env
77
.venv
88
.pytest_cache/*
9+
__pycache__/
910
.vscode/
1011
.coverage

aries_cloudcontroller/aries_controller_base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ def add_listener(self, listener):
190190
"""
191191
try:
192192
pub_topic_path = listener['topic']
193-
print("Subscribing too: " + pub_topic_path)
193+
logger.INFO("Subscribing too: " + pub_topic_path)
194194
pub.subscribe(listener["handler"], pub_topic_path)
195195
logger.debug("Lister added for topic : ", pub_topic_path)
196196
except Exception as exc:

0 commit comments

Comments
 (0)