Skip to content

Using Windows UI to silence notifications results in an error in the error handling process (toasted/toast.py > _handle_toast_failed) #6

@ItsCubeTime

Description

@ItsCubeTime
Exception ignored in: <function Toast._create_future_toast_event.<locals>.<lambda> at 0x000001CFF4C08E00>
Traceback (most recent call last):
  File "C:\Users\olliv\AppData\Local\Programs\Python\Python312\Lib\site-packages\toasted\toast.py", line 767, in <lambda>
    future.set_result, getattr(self, method_name)(sender, event_args)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\olliv\AppData\Local\Programs\Python\Python312\Lib\site-packages\toasted\toast.py", line 864, in _handle_toast_failed
    "Toast failed with error code: " + args.error_code.value

To reproduce, press the 3 dots at top right of the notification and press the "Silence future notifications from... " button on a toast produced by toasted - now any future toasts (which will fail) prints above message in the console.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions