Skip to content

fix: include event id in expired and rate-limited rejection logs - #735

Open
Ferryx349 wants to merge 1 commit into
cameri:mainfrom
Ferryx349:fix/723-rejection-logger-event-id
Open

fix: include event id in expired and rate-limited rejection logs#735
Ferryx349 wants to merge 1 commit into
cameri:mainfrom
Ferryx349:fix/723-rejection-logger-event-id

Conversation

@Ferryx349

Copy link
Copy Markdown
Collaborator

Description

Two rejection log calls in EventMessageHandler used %s placeholders without passing event.id, so logs showed a literal %s instead of the event id for expired and rate-limited rejections.

Related Issue

Fixes #723

Motivation and Context

How Has This Been Tested?

Screenshots (if appropriate):

Types of changes

  • Non-functional change (docs, style, minor refactor)
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my code changes.
  • I added a changeset, or this is docs-only and I added an empty changeset.
  • All new and existing tests passed.

Pass event.id to the logger for expired and rate-limited rejections so
operators see the actual event id instead of a literal %s placeholder.

Fixes cameri#723

Co-authored-by: Cursor <cursoragent@cursor.com>
@changeset-bot

changeset-bot Bot commented Aug 19, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 654c977

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
nostream Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coveralls

Copy link
Copy Markdown
Collaborator

Coverage Status

coverage: 70.692% (+0.008%) from 70.684% — Ferryx349:fix/723-rejection-logger-event-id into cameri:main

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.

fix: missing event ID in rejection loggers

2 participants