Skip to content

Conversation

@bitsandfoxes
Copy link
Contributor

I'm sorry, but the inconsistency has been bothering me when there are multiple logs in a row and they are only almost formatted the same. We've got the pattern of surrounding IDs with ' almost everywhere. I just added it to where I found it missing.

Sentry: (Debug) Enqueuing envelope 72c00a9f348444918845d48a0a6049e5 
Sentry: (Info) Envelope queued up: '72c00a9f348444918845d48a0a6049e5' 

Same with instances of ending sentences without a ..

#skip-changelog


_options.LogWarning(
"The attempt to queue the event failed. Items in queue: {0}",
"The attempt to queue the event failed. Items in queue: '{0}'",
Copy link

Choose a reason for hiding this comment

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

Bug: Log Message Formatting Error

The log message for Worker.QueuedItems incorrectly adds single quotes. Since QueuedItems is a numeric count rather than an ID, quoting it is inconsistent with the intended logging style for identifiers.

Fix in Cursor Fix in Web

@jamescrosswell
Copy link
Collaborator

@bitsandfoxes would it be possible to make this PR in the version6 branch rather than main?

We're trying to minimise the number of changes we make in main at this point (to reduce double handling resulting from merges).

@bitsandfoxes
Copy link
Contributor Author

Sure thing!
Superseded by #4622

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