File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -710,20 +710,12 @@ async def notify(
710
710
)
711
711
712
712
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
- )
718
713
raise TypeError (
719
714
f"notificationType { notification_type } not supported,"
720
715
"must be of type BringNotificationType."
721
716
)
722
717
if notification_type is BringNotificationType .URGENT_MESSAGE :
723
718
if not item_name or len (item_name ) == 0 :
724
- _LOGGER .debug (
725
- "Exception: Argument itemName missing:\n %s" , traceback .format_exc ()
726
- )
727
719
raise ValueError (
728
720
"notificationType is URGENT_MESSAGE but argument itemName missing."
729
721
)
You can’t perform that action at this time.
0 commit comments