-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Kafkahandler: Handle missing bootstrap servers #68
base: main
Are you sure you want to change the base?
Conversation
@language-shprt can you please review this as well. |
@@ -131,7 +131,7 @@ async def _render_template(self, template, params): | |||
if not template.startswith('/Templates/Attachment/'): | |||
raise ASABIrisError( | |||
ErrorCode.INVALID_PATH, | |||
tech_message="Cannot render attachment: Invalid template path for '{}'. Move it to '/Templates/Attachment/'.".format(template), | |||
tech_message="Failed to render the attachment. Reason: The template path '{}' is not valid. Please ensure the template is located in the '/Templates/Attachment/' directory for proper processing.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The template path '{}'
piece won't show any path. Add .format()
?
exit() | ||
except (configparser.NoOptionError, ValueError) as e: | ||
L.warning("Configuration issue: {}".format(e)) | ||
return None # Returns None on |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am sorry, but I don't understand that comment here = I already see it returns None from code, but "on" doesn't clear that case for me... Maybe it is ok and I am just not familiar with the code :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok from my side
please clarify questions of @language-shprt
No description provided.