Skip to content

Conversation

mayurinehate
Copy link
Contributor

No description provided.

@hsheth2 hsheth2 requested a review from alexsku September 3, 2025 22:25
# Then truncate if needed
return truncate_with_ellipsis(sanitized, max_length)
except Exception:
# logger.warning(f"Error sanitizing and truncating description: {e}")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm curious when the exception might be thrown, if there is any real scenario when we expect it. And perhaps if we want to catch the exception I would log it - otherwise we might be getting some completely unexpected behavior and we won't even know about it

Copy link
Contributor

@alexsku alexsku left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good to go after logging for the exception is added

@mayurinehate mayurinehate merged commit e75b891 into main Sep 4, 2025
1 check passed
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.

2 participants