Skip to content
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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

mithunbharadwaj
Copy link
Contributor

No description provided.

@mithunbharadwaj mithunbharadwaj requested a review from ateska April 12, 2024 07:03
@ateska
Copy link
Contributor

ateska commented Apr 15, 2024

@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.",

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

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 :)

Copy link
Contributor

@ateska ateska left a 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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants