Skip to content

Commit 7130bcc

Browse files
committed
Remove unnecessary debug logging
1 parent fe18526 commit 7130bcc

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

bring_api/bring.py

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -710,20 +710,12 @@ async def notify(
710710
)
711711

712712
if not isinstance(notification_type, BringNotificationType):
713-
_LOGGER.debug(
714-
"Exception: notificationType %s not supported. \n%s",
715-
notification_type,
716-
traceback.format_exc(),
717-
)
718713
raise TypeError(
719714
f"notificationType {notification_type} not supported,"
720715
"must be of type BringNotificationType."
721716
)
722717
if notification_type is BringNotificationType.URGENT_MESSAGE:
723718
if not item_name or len(item_name) == 0:
724-
_LOGGER.debug(
725-
"Exception: Argument itemName missing:\n%s", traceback.format_exc()
726-
)
727719
raise ValueError(
728720
"notificationType is URGENT_MESSAGE but argument itemName missing."
729721
)

0 commit comments

Comments
 (0)