Skip to content

Commit 7de5566

Browse files
authored
Merge pull request #679 from Survey845/issue-471
Issue [#474] - Improving log observability
2 parents dacf342 + 0625c1f commit 7de5566

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/api-engine/api/lib/agent/handler.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ def create(self, info):
4545
else:
4646
return None
4747
except Exception as e:
48+
LOG.error("Agent Not Created", exc_info=True)
4849
raise e
4950

5051
def delete(self):
@@ -71,5 +72,5 @@ def get(self):
7172
try:
7273
return self._agent.get()
7374
except Exception as e:
74-
LOG.error(e)
75+
LOG.error("Agent Not Found: %s", e, exc_info=True)
7576
return False

0 commit comments

Comments
 (0)