Skip to content

Commit 208ea4b

Browse files
authored
[ServiceBus/EventHubs] change invalid link error to warning log (#34352)
* change error log to warning * eh error to warning log * update warning to debug
1 parent 86f19d9 commit 208ea4b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

sdk/eventhub/azure-eventhub/azure/eventhub/_pyamqp/aio/_session_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ async def _incoming_attach(self, frame):
204204
self._input_handles[frame[1]] = new_link
205205
except ValueError as e:
206206
# Reject Link
207-
_LOGGER.error(
207+
_LOGGER.debug(
208208
"Unable to attach new link: %r",
209209
e,
210210
extra=self.network_trace_params

sdk/eventhub/azure-eventhub/azure/eventhub/_pyamqp/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def _incoming_attach(self, frame):
230230
self._input_handles[frame[1]] = new_link
231231
except ValueError as e:
232232
# Reject Link
233-
_LOGGER.error(
233+
_LOGGER.debug(
234234
"Unable to attach new link: %r",
235235
e,
236236
extra=self.network_trace_params

sdk/servicebus/azure-servicebus/azure/servicebus/_pyamqp/aio/_session_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ async def _incoming_attach(self, frame):
204204
self._input_handles[frame[1]] = new_link
205205
except ValueError as e:
206206
# Reject Link
207-
_LOGGER.error(
207+
_LOGGER.debug(
208208
"Unable to attach new link: %r",
209209
e,
210210
extra=self.network_trace_params

sdk/servicebus/azure-servicebus/azure/servicebus/_pyamqp/session.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ def _incoming_attach(self, frame):
230230
self._input_handles[frame[1]] = new_link
231231
except ValueError as e:
232232
# Reject Link
233-
_LOGGER.error(
233+
_LOGGER.debug(
234234
"Unable to attach new link: %r",
235235
e,
236236
extra=self.network_trace_params

0 commit comments

Comments
 (0)