Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SMART
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UNI-KLU
SMART
Commits
6b8fd3ed
Commit
6b8fd3ed
authored
Mar 24, 2021
by
Alexander Lercher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[TraceRetrieval] Not storing transaction on final keyerror
This keyerror meant duplicate -> handled now explicitly
parent
cf214567
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
MessageHandler.py
...ce-retrieval-microservice/app/messaging/MessageHandler.py
+2
-2
No files found.
src/transaction-hub-in/trace-retrieval-microservice/app/messaging/MessageHandler.py
View file @
6b8fd3ed
...
...
@@ -199,8 +199,8 @@ class MessageHandler:
try
:
self
.
_mongo_repo
.
add_transaction
(
transaction
)
except
KeyError
as
e
:
LOGGER
.
error
(
f
"{e}"
)
self
.
_mongo_repo
.
add_failed_transaction
(
transaction_message
)
LOGGER
.
error
(
f
"{e}
, ignored {transaction_message}
"
)
#
self._mongo_repo.add_failed_transaction(transaction_message)
return
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment