max_size_in_bytes value error incorrect f-string #37695
Labels
Client
This issue points to a problem in the data-plane of the library.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Messaging
Messaging crew
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
Service Bus
Describe the bug
In serviceBusSender create_message_batch at line 484 it has line like this
"acceptable max batch size is: {self._max_message_size_on_link} bytes."
missed f-string, should be like this
f"acceptable max batch size is: {self._max_message_size_on_link} bytes."f
To Reproduce
Steps to reproduce the behavior:
1
create batch with size of 10Mb
Expected behavior
Correct message about error
Screenshots
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: